0
Files
src/content/browser/resource_context_impl.h
John Abd-El-Malek 76ad70a295 Reland "Move WebUI code to run on the UI thread."
This reverts commit 8f6d952389.

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 commit 52fd322ec1.
>
> Revert "Reland "Remove InstantIOContext since it's not needed anymore.""
>
> This reverts commit 6360b9fdb0.
>
> Revert "Add extra thread hops in WebUI code on ChromeOS to simulate old timing."
>
> This reverts commit dbb65740f2.
>
> 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}
2020-05-18 16:08:12 +00:00

25 lines
818 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.
#ifndef CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
#define CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_
#include "content/common/content_export.h"
#include "content/public/browser/resource_context.h"
namespace content {
class BrowserContext;
// Getters for objects that are part of BrowserContext which are also used on
// the IO thread. These are only accessed by content so they're not on the
// public API.
// Initialize the above data on the ResourceContext from a given BrowserContext.
CONTENT_EXPORT void InitializeResourceContext(BrowserContext* browser_context);
} // namespace content
#endif // CONTENT_BROWSER_RESOURCE_CONTEXT_IMPL_H_