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

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: 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class TargetPolicy; 62 class TargetPolicy;
63 } 63 }
64 64
65 namespace ui { 65 namespace ui {
66 class SelectFilePolicy; 66 class SelectFilePolicy;
67 } 67 }
68 68
69 namespace fileapi { 69 namespace fileapi {
70 class ExternalMountPoints; 70 class ExternalMountPoints;
71 class FileSystemMountPointProvider; 71 class FileSystemMountPointProvider;
72 class FileSystemOptions;
73 class FileSystemTaskRunners;
72 } 74 }
73 75
74 namespace quota { 76 namespace quota {
77 class QuotaManagerProxy;
75 class SpecialStoragePolicy; 78 class SpecialStoragePolicy;
76 } 79 }
77 80
78 namespace content { 81 namespace content {
79 82
80 class AccessTokenStore; 83 class AccessTokenStore;
81 class BrowserChildProcessHost; 84 class BrowserChildProcessHost;
82 class BrowserContext; 85 class BrowserContext;
83 class BrowserMainParts; 86 class BrowserMainParts;
84 class BrowserPluginGuestDelegate; 87 class BrowserPluginGuestDelegate;
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 // |special_storage_policy| and |external_mount_points| are needed in the 568 // |special_storage_policy| and |external_mount_points| are needed in the
566 // additional MountPointProviders. |special_storage_policy| is used to grant 569 // additional MountPointProviders. |special_storage_policy| is used to grant
567 // permissions. |external_mount_points| has mount points to create objects 570 // permissions. |external_mount_points| has mount points to create objects
568 // returned by additional MountPointProviders. (Note: although it is named 571 // returned by additional MountPointProviders. (Note: although it is named
569 // "provider", it acts creating objects based on mount points provided by 572 // "provider", it acts creating objects based on mount points provided by
570 // |external_mount_points|). 573 // |external_mount_points|).
571 virtual void GetAdditionalFileSystemMountPointProviders( 574 virtual void GetAdditionalFileSystemMountPointProviders(
572 const base::FilePath& storage_partition_path, 575 const base::FilePath& storage_partition_path,
573 quota::SpecialStoragePolicy* special_storage_policy, 576 quota::SpecialStoragePolicy* special_storage_policy,
574 fileapi::ExternalMountPoints* external_mount_points, 577 fileapi::ExternalMountPoints* external_mount_points,
578 quota::QuotaManagerProxy* quota_manager_proxy,
579 fileapi::FileSystemTaskRunners* task_runners,
580 const fileapi::FileSystemOptions& options,
575 ScopedVector<fileapi::FileSystemMountPointProvider>* 581 ScopedVector<fileapi::FileSystemMountPointProvider>*
576 additional_providers) {} 582 additional_providers) {}
577 583
578 // Allows an embedder to return its own LocationProvider implementation. 584 // Allows an embedder to return its own LocationProvider implementation.
579 // Return NULL to use the default one for the platform to be created. 585 // Return NULL to use the default one for the platform to be created.
580 virtual LocationProvider* OverrideSystemLocationProvider(); 586 virtual LocationProvider* OverrideSystemLocationProvider();
581 587
582 #if defined(OS_POSIX) && !defined(OS_MACOSX) 588 #if defined(OS_POSIX) && !defined(OS_MACOSX)
583 // Populates |mappings| with all files that need to be mapped before launching 589 // Populates |mappings| with all files that need to be mapped before launching
584 // a child process. 590 // a child process.
(...skipping 19 matching lines...) Expand all
604 // This is called on a worker thread. 610 // This is called on a worker thread.
605 virtual 611 virtual
606 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 612 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
607 const GURL& url); 613 const GURL& url);
608 #endif 614 #endif
609 }; 615 };
610 616
611 } // namespace content 617 } // namespace content
612 618
613 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 619 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698