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

Side by Side Diff: android_webview/browser/aw_content_browser_client.h

Issue 2072383002: Trace revision and v8 version for IterationInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: specific_include_rules tracing_controller_impl.cc +v8 Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « android_webview/DEPS ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 base::FilePath GetDefaultDownloadDirectory() override; 115 base::FilePath GetDefaultDownloadDirectory() override;
116 std::string GetDefaultDownloadName() override; 116 std::string GetDefaultDownloadName() override;
117 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; 117 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override;
118 bool AllowPepperSocketAPI( 118 bool AllowPepperSocketAPI(
119 content::BrowserContext* browser_context, 119 content::BrowserContext* browser_context,
120 const GURL& url, 120 const GURL& url,
121 bool private_api, 121 bool private_api,
122 const content::SocketPermissionRequest* params) override; 122 const content::SocketPermissionRequest* params) override;
123 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, 123 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context,
124 const GURL& url) override; 124 const GURL& url) override;
125 content::TracingDelegate* GetTracingDelegate() override;
125 void GetAdditionalMappedFilesForChildProcess( 126 void GetAdditionalMappedFilesForChildProcess(
126 const base::CommandLine& command_line, 127 const base::CommandLine& command_line,
127 int child_process_id, 128 int child_process_id,
128 content::FileDescriptorInfo* mappings, 129 content::FileDescriptorInfo* mappings,
129 std::map<int, base::MemoryMappedFile::Region>* regions) override; 130 std::map<int, base::MemoryMappedFile::Region>* regions) override;
130 void OverrideWebkitPrefs(content::RenderViewHost* rvh, 131 void OverrideWebkitPrefs(content::RenderViewHost* rvh,
131 content::WebPreferences* web_prefs) override; 132 content::WebPreferences* web_prefs) override;
132 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( 133 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
133 content::NavigationHandle* navigation_handle) override; 134 content::NavigationHandle* navigation_handle) override;
134 #if defined(VIDEO_HOLE) 135 #if defined(VIDEO_HOLE)
135 content::ExternalVideoSurfaceContainer* 136 content::ExternalVideoSurfaceContainer*
136 OverrideCreateExternalVideoSurfaceContainer( 137 OverrideCreateExternalVideoSurfaceContainer(
137 content::WebContents* web_contents) override; 138 content::WebContents* web_contents) override;
138 #endif 139 #endif
139 140
140 private: 141 private:
141 // Android WebView currently has a single global (non-off-the-record) browser 142 // Android WebView currently has a single global (non-off-the-record) browser
142 // context. 143 // context.
143 std::unique_ptr<AwBrowserContext> browser_context_; 144 std::unique_ptr<AwBrowserContext> browser_context_;
144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; 145 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_;
145 146
146 JniDependencyFactory* native_factory_; 147 JniDependencyFactory* native_factory_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); 149 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
149 }; 150 };
150 151
151 } // namespace android_webview 152 } // namespace android_webview
152 153
153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ 154 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « android_webview/DEPS ('k') | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698