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

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

Issue 18344013: fileapi: Rename FileSystemMountProvider to FileSystemBackend (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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 namespace sandbox { 61 namespace sandbox {
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 FileSystemBackend;
72 } 72 }
73 73
74 namespace quota { 74 namespace quota {
75 class SpecialStoragePolicy; 75 class SpecialStoragePolicy;
76 } 76 }
77 77
78 namespace content { 78 namespace content {
79 79
80 class AccessTokenStore; 80 class AccessTokenStore;
81 class BrowserChildProcessHost; 81 class BrowserChildProcessHost;
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 550
551 // Returns an implementation of a file selecition policy. Can return NULL. 551 // Returns an implementation of a file selecition policy. Can return NULL.
552 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 552 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
553 WebContents* web_contents); 553 WebContents* web_contents);
554 554
555 // Returns additional allowed scheme set which can access files in 555 // Returns additional allowed scheme set which can access files in
556 // FileSystem API. 556 // FileSystem API.
557 virtual void GetAdditionalAllowedSchemesForFileSystem( 557 virtual void GetAdditionalAllowedSchemesForFileSystem(
558 std::vector<std::string>* additional_schemes) {} 558 std::vector<std::string>* additional_schemes) {}
559 559
560 // Returns additional MountPointProviders for FileSystem API. 560 // Returns additional file system backends for FileSystem API.
561 // |special_storage_policy| and |external_mount_points| are needed in the 561 // |special_storage_policy| and |external_mount_points| are needed in the
562 // additional MountPointProviders. |special_storage_policy| is used to grant 562 // additional MountPointProviders. |special_storage_policy| is used to grant
563 // permissions. |external_mount_points| has mount points to create objects 563 // permissions. |external_mount_points| has mount points to create objects
564 // returned by additional MountPointProviders. (Note: although it is named 564 // returned by additional MountPointProviders. (Note: although it is named
565 // "provider", it acts creating objects based on mount points provided by 565 // "provider", it acts creating objects based on mount points provided by
566 // |external_mount_points|). 566 // |external_mount_points|).
567 virtual void GetAdditionalFileSystemMountPointProviders( 567 virtual void GetAdditionalFileSystemBackends(
568 const base::FilePath& storage_partition_path, 568 const base::FilePath& storage_partition_path,
569 quota::SpecialStoragePolicy* special_storage_policy, 569 quota::SpecialStoragePolicy* special_storage_policy,
570 fileapi::ExternalMountPoints* external_mount_points, 570 fileapi::ExternalMountPoints* external_mount_points,
571 ScopedVector<fileapi::FileSystemMountPointProvider>* 571 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {}
572 additional_providers) {}
573 572
574 // Allows an embedder to return its own LocationProvider implementation. 573 // Allows an embedder to return its own LocationProvider implementation.
575 // Return NULL to use the default one for the platform to be created. 574 // Return NULL to use the default one for the platform to be created.
576 virtual LocationProvider* OverrideSystemLocationProvider(); 575 virtual LocationProvider* OverrideSystemLocationProvider();
577 576
578 #if defined(OS_POSIX) && !defined(OS_MACOSX) 577 #if defined(OS_POSIX) && !defined(OS_MACOSX)
579 // Populates |mappings| with all files that need to be mapped before launching 578 // Populates |mappings| with all files that need to be mapped before launching
580 // a child process. 579 // a child process.
581 virtual void GetAdditionalMappedFilesForChildProcess( 580 virtual void GetAdditionalMappedFilesForChildProcess(
582 const CommandLine& command_line, 581 const CommandLine& command_line,
(...skipping 17 matching lines...) Expand all
600 // This is called on a worker thread. 599 // This is called on a worker thread.
601 virtual 600 virtual
602 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 601 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
603 const GURL& url); 602 const GURL& url);
604 #endif 603 #endif
605 }; 604 };
606 605
607 } // namespace content 606 } // namespace content
608 607
609 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 608 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698