Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: android_webview/browser/aw_browser_main_parts.h

Issue 2183703005: Renderers should obtain browser InterfaceProvider by connecting to browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_browser_main_parts.h
diff --git a/android_webview/browser/aw_browser_main_parts.h b/android_webview/browser/aw_browser_main_parts.h
index 66e43eef711f7da6511d772502448633b36c4550..125c46f968f29a238cea6b756299b49e726cbd96 100644
--- a/android_webview/browser/aw_browser_main_parts.h
+++ b/android_webview/browser/aw_browser_main_parts.h
@@ -18,10 +18,11 @@ class MessageLoop;
namespace android_webview {
class AwBrowserContext;
+class AwContentBrowserClient;
class AwBrowserMainParts : public content::BrowserMainParts {
public:
- explicit AwBrowserMainParts(AwBrowserContext* browser_context);
+ explicit AwBrowserMainParts(AwContentBrowserClient* browser_client);
~AwBrowserMainParts() override;
// Overriding methods from content::BrowserMainParts.
@@ -34,7 +35,8 @@ class AwBrowserMainParts : public content::BrowserMainParts {
// Android specific UI MessageLoop.
std::unique_ptr<base::MessageLoop> main_message_loop_;
- AwBrowserContext* browser_context_; // weak
+ AwContentBrowserClient* browser_client_;
+ AwBrowserContext* browser_context_ = nullptr;
boliu 2016/08/02 19:22:54 can be removed?
DISALLOW_COPY_AND_ASSIGN(AwBrowserMainParts);
};
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698