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

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

Issue 13415006: Do not refer "chrome" in content/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 7 years, 8 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 | Annotate | Revision Log
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 int plugin_process_id) OVERRIDE; 216 int plugin_process_id) OVERRIDE;
217 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context, 217 virtual bool SupportsBrowserPlugin(content::BrowserContext* browser_context,
218 const GURL& site_url) OVERRIDE; 218 const GURL& site_url) OVERRIDE;
219 virtual bool AllowPepperSocketAPI( 219 virtual bool AllowPepperSocketAPI(
220 content::BrowserContext* browser_context, 220 content::BrowserContext* browser_context,
221 const GURL& url, 221 const GURL& url,
222 const content::SocketPermissionRequest& params) OVERRIDE; 222 const content::SocketPermissionRequest& params) OVERRIDE;
223 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE; 223 virtual base::FilePath GetHyphenDictionaryDirectory() OVERRIDE;
224 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 224 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
225 content::WebContents* web_contents) OVERRIDE; 225 content::WebContents* web_contents) OVERRIDE;
226 virtual void GetAdditionalAllowedSchemesForFileSystem(
227 std::vector<std::string>* additional_schemes) OVERRIDE;
226 228
227 #if defined(OS_POSIX) && !defined(OS_MACOSX) 229 #if defined(OS_POSIX) && !defined(OS_MACOSX)
228 virtual void GetAdditionalMappedFilesForChildProcess( 230 virtual void GetAdditionalMappedFilesForChildProcess(
229 const CommandLine& command_line, 231 const CommandLine& command_line,
230 int child_process_id, 232 int child_process_id,
231 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE; 233 std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE;
232 #endif 234 #endif
233 #if defined(OS_WIN) 235 #if defined(OS_WIN)
234 virtual const wchar_t* GetResourceDllName() OVERRIDE; 236 virtual const wchar_t* GetResourceDllName() OVERRIDE;
235 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy, 237 virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy,
236 bool* success) OVERRIDE; 238 bool* success) OVERRIDE;
237 #endif 239 #endif
238 #if defined(USE_NSS) 240 #if defined(USE_NSS)
239 virtual 241 virtual
240 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 242 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
241 const GURL& url) OVERRIDE; 243 const GURL& url) OVERRIDE;
242 #endif 244 #endif
243 245
244 private: 246 private:
245 // Set of origins that can use TCP/UDP private APIs from NaCl. 247 // Set of origins that can use TCP/UDP private APIs from NaCl.
246 std::set<std::string> allowed_socket_origins_; 248 std::set<std::string> allowed_socket_origins_;
247 249
248 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 250 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
249 }; 251 };
250 252
251 } // namespace chrome 253 } // namespace chrome
252 254
253 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 255 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698