
This reverts commit8f6d952389
. Per analysis of all the waterfall bots that run this chrome_all_tast_tests, this doesn't affect the flakiness. Details in https://bugs.chromium.org/p/chromium/issues/detail?id=1082326#c51 Original change's description: > Revert moving WebUI code to run on the UI thread as there are still PFQ flakes. > > Revert "Reland "Move WebUI code to run on the UI thread only."" > > This reverts commit52fd322ec1
. > > Revert "Reland "Remove InstantIOContext since it's not needed anymore."" > > This reverts commit6360b9fdb0
. > > Revert "Add extra thread hops in WebUI code on ChromeOS to simulate old timing." > > This reverts commitdbb65740f2
. > > TBR=jennyz@chromium.org > > Bug: 1082326,1062873
> Change-Id: Ic6e6d1cce833c9927ac80ceada5e682c3d120553 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203707 > Reviewed-by: John Abd-El-Malek <jam@chromium.org> > Commit-Queue: John Abd-El-Malek <jam@chromium.org> > Cr-Commit-Position: refs/heads/master@{#769199} TBR=jennyz@chromium.org Bug: 1082326,1062873
Change-Id: I577980c0240321a1f39b72f70fc63556c2f82cac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2203411 Commit-Queue: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Jenny Zhang <jennyz@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#769725}
25 lines
619 B
C++
25 lines
619 B
C++
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "content/browser/resource_context_impl.h"
|
|
|
|
#include "content/public/browser/browser_context.h"
|
|
|
|
using base::UserDataAdapter;
|
|
|
|
namespace content {
|
|
|
|
ResourceContext::ResourceContext() {}
|
|
|
|
ResourceContext::~ResourceContext() {
|
|
}
|
|
|
|
void InitializeResourceContext(BrowserContext* browser_context) {
|
|
ResourceContext* resource_context = browser_context->GetResourceContext();
|
|
|
|
resource_context->DetachFromSequence();
|
|
}
|
|
|
|
} // namespace content
|