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

Side by Side Diff: extensions/shell/browser/shell_content_browser_client.h

Issue 1147213004: Store and load icudtl.dat directly from the apk rather than extracting on start-up (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@load-from-apk
Patch Set: Keep extracting for components/ 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/public/browser/content_browser_client.h" 9 #include "content/public/browser/content_browser_client.h"
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 content::SpeechRecognitionManagerDelegate* 55 content::SpeechRecognitionManagerDelegate*
56 CreateSpeechRecognitionManagerDelegate() override; 56 CreateSpeechRecognitionManagerDelegate() override;
57 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 57 content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
58 int plugin_process_id) override; 58 int plugin_process_id) override;
59 void GetAdditionalAllowedSchemesForFileSystem( 59 void GetAdditionalAllowedSchemesForFileSystem(
60 std::vector<std::string>* additional_schemes) override; 60 std::vector<std::string>* additional_schemes) override;
61 #if defined(OS_POSIX) && !defined(OS_MACOSX) 61 #if defined(OS_POSIX) && !defined(OS_MACOSX)
62 void GetAdditionalMappedFilesForChildProcess( 62 void GetAdditionalMappedFilesForChildProcess(
63 const base::CommandLine& command_line, 63 const base::CommandLine& command_line,
64 int child_process_id, 64 int child_process_id,
65 content::FileDescriptorInfo* mappings) override; 65 content::FileDescriptorInfo* mappings
66 #if defined(OS_ANDROID)
67 , std::map<int, base::MemoryMappedFile::Region>* regions
68 #endif
69 ) override;
66 #endif 70 #endif
67 71
68 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 72 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
69 73
70 protected: 74 protected:
71 // Subclasses may wish to provide their own ShellBrowserMainParts. 75 // Subclasses may wish to provide their own ShellBrowserMainParts.
72 virtual ShellBrowserMainParts* CreateShellBrowserMainParts( 76 virtual ShellBrowserMainParts* CreateShellBrowserMainParts(
73 const content::MainFunctionParams& parameters, 77 const content::MainFunctionParams& parameters,
74 ShellBrowserMainDelegate* browser_main_delegate); 78 ShellBrowserMainDelegate* browser_main_delegate);
75 79
(...skipping 14 matching lines...) Expand all
90 94
91 // Owned by ShellBrowserMainParts. 95 // Owned by ShellBrowserMainParts.
92 ShellBrowserMainDelegate* browser_main_delegate_; 96 ShellBrowserMainDelegate* browser_main_delegate_;
93 97
94 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); 98 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient);
95 }; 99 };
96 100
97 } // namespace extensions 101 } // namespace extensions
98 102
99 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 103 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698