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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 18668003: SyncFS: Introduce SyncFileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 7 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 | 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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 20 matching lines...) Expand all
31 #endif 31 #endif
32 32
33 class CommandLine; 33 class CommandLine;
34 class GURL; 34 class GURL;
35 struct WebPreferences; 35 struct WebPreferences;
36 36
37 namespace base { 37 namespace base {
38 class DictionaryValue; 38 class DictionaryValue;
39 class FilePath; 39 class FilePath;
40 } 40 }
41
41 namespace crypto { 42 namespace crypto {
42 class CryptoModuleBlockingPasswordDelegate; 43 class CryptoModuleBlockingPasswordDelegate;
43 } 44 }
44 45
45 namespace gfx { 46 namespace gfx {
46 class ImageSkia; 47 class ImageSkia;
47 } 48 }
48 49
49 namespace net { 50 namespace net {
50 class CookieOptions; 51 class CookieOptions;
(...skipping 11 matching lines...) Expand all
62 class TargetPolicy; 63 class TargetPolicy;
63 } 64 }
64 65
65 namespace ui { 66 namespace ui {
66 class SelectFilePolicy; 67 class SelectFilePolicy;
67 } 68 }
68 69
69 namespace fileapi { 70 namespace fileapi {
70 class ExternalMountPoints; 71 class ExternalMountPoints;
71 class FileSystemBackend; 72 class FileSystemBackend;
73 class FileSystemOptions;
72 } 74 }
73 75
74 namespace content { 76 namespace content {
75 77
76 class AccessTokenStore; 78 class AccessTokenStore;
77 class BrowserChildProcessHost; 79 class BrowserChildProcessHost;
78 class BrowserContext; 80 class BrowserContext;
79 class BrowserMainParts; 81 class BrowserMainParts;
80 class BrowserPluginGuestDelegate; 82 class BrowserPluginGuestDelegate;
81 class BrowserPpapiHost; 83 class BrowserPpapiHost;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 virtual void GetAdditionalAllowedSchemesForFileSystem( 559 virtual void GetAdditionalAllowedSchemesForFileSystem(
558 std::vector<std::string>* additional_schemes) {} 560 std::vector<std::string>* additional_schemes) {}
559 561
560 // Returns additional file system backends for FileSystem API. 562 // Returns additional file system backends for FileSystem API.
561 // |browser_context| is needed in the additional FileSystemBackends. 563 // |browser_context| is needed in the additional FileSystemBackends.
562 // It has mount points to create objects returned by additional 564 // It has mount points to create objects returned by additional
563 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 565 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
564 virtual void GetAdditionalFileSystemBackends( 566 virtual void GetAdditionalFileSystemBackends(
565 BrowserContext* browser_context, 567 BrowserContext* browser_context,
566 const base::FilePath& storage_partition_path, 568 const base::FilePath& storage_partition_path,
569 const fileapi::FileSystemOptions& options,
567 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {} 570 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {}
568 571
569 // Allows an embedder to return its own LocationProvider implementation. 572 // Allows an embedder to return its own LocationProvider implementation.
570 // Return NULL to use the default one for the platform to be created. 573 // Return NULL to use the default one for the platform to be created.
571 virtual LocationProvider* OverrideSystemLocationProvider(); 574 virtual LocationProvider* OverrideSystemLocationProvider();
572 575
573 #if defined(OS_POSIX) && !defined(OS_MACOSX) 576 #if defined(OS_POSIX) && !defined(OS_MACOSX)
574 // Populates |mappings| with all files that need to be mapped before launching 577 // Populates |mappings| with all files that need to be mapped before launching
575 // a child process. 578 // a child process.
576 virtual void GetAdditionalMappedFilesForChildProcess( 579 virtual void GetAdditionalMappedFilesForChildProcess(
(...skipping 18 matching lines...) Expand all
595 // This is called on a worker thread. 598 // This is called on a worker thread.
596 virtual 599 virtual
597 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 600 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
598 const GURL& url); 601 const GURL& url);
599 #endif 602 #endif
600 }; 603 };
601 604
602 } // namespace content 605 } // namespace content
603 606
604 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 607 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698