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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 1181953002: Load non-locale .pak files directly from the .apk on Android (rather than extracting on start-up). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@raw-paks
Patch Set: yfriedman review comments Created 5 years, 6 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
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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 bool IsPluginAllowedToCallRequestOSFileHandle( 233 bool IsPluginAllowedToCallRequestOSFileHandle(
234 content::BrowserContext* browser_context, 234 content::BrowserContext* browser_context,
235 const GURL& url) override; 235 const GURL& url) override;
236 bool IsPluginAllowedToUseDevChannelAPIs( 236 bool IsPluginAllowedToUseDevChannelAPIs(
237 content::BrowserContext* browser_context, 237 content::BrowserContext* browser_context,
238 const GURL& url) override; 238 const GURL& url) override;
239 void OverridePageVisibilityState( 239 void OverridePageVisibilityState(
240 content::RenderFrameHost* render_frame_host, 240 content::RenderFrameHost* render_frame_host,
241 blink::WebPageVisibilityState* visibility_state) override; 241 blink::WebPageVisibilityState* visibility_state) override;
242 242
243 #if defined(OS_POSIX) && !defined(OS_MACOSX) 243 #if defined(OS_ANDROID)
244 void GetAdditionalMappedFilesForChildProcess(
245 const base::CommandLine& command_line,
246 int child_process_id,
247 content::FileDescriptorInfo* mappings,
248 std::map<int, base::MemoryMappedFile::Region>* regions) override;
249 #elif defined(OS_POSIX) && !defined(OS_MACOSX)
244 void GetAdditionalMappedFilesForChildProcess( 250 void GetAdditionalMappedFilesForChildProcess(
245 const base::CommandLine& command_line, 251 const base::CommandLine& command_line,
246 int child_process_id, 252 int child_process_id,
247 content::FileDescriptorInfo* mappings) override; 253 content::FileDescriptorInfo* mappings) override;
248 #endif 254 #endif // defined(OS_ANDROID)
249 #if defined(OS_WIN) 255 #if defined(OS_WIN)
250 const wchar_t* GetResourceDllName() override; 256 const wchar_t* GetResourceDllName() override;
251 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; 257 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override;
252 #endif 258 #endif
253 void OverrideRenderFrameMojoServices( 259 void OverrideRenderFrameMojoServices(
254 content::ServiceRegistry* registry, 260 content::ServiceRegistry* registry,
255 content::RenderFrameHost* render_frame_host) override; 261 content::RenderFrameHost* render_frame_host) override;
256 void RegisterMojoApplications(StaticMojoApplicationMap* apps) override; 262 void RegisterMojoApplications(StaticMojoApplicationMap* apps) override;
257 void OpenURL(content::BrowserContext* browser_context, 263 void OpenURL(content::BrowserContext* browser_context,
258 const content::OpenURLParams& params, 264 const content::OpenURLParams& params,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 316 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
311 317
312 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 318 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
313 319
314 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 320 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
315 }; 321 };
316 322
317 } // namespace chrome 323 } // namespace chrome
318 324
319 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 325 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698