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

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

Issue 17644006: Move files under webkit/browser/fileapi/... to chrome/browser/chromeos/fileapi/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded file dependency from .gypi. Created 7 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 | 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 namespace sandbox { 59 namespace sandbox {
60 class TargetPolicy; 60 class TargetPolicy;
61 } 61 }
62 62
63 namespace ui { 63 namespace ui {
64 class SelectFilePolicy; 64 class SelectFilePolicy;
65 } 65 }
66 66
67 namespace fileapi { 67 namespace fileapi {
68 class ExternalMountPoints;
68 class FileSystemMountPointProvider; 69 class FileSystemMountPointProvider;
69 } 70 }
70 71
72 namespace quota {
73 class SpecialStoragePolicy;
74 }
75
71 namespace content { 76 namespace content {
72 77
73 class AccessTokenStore; 78 class AccessTokenStore;
74 class BrowserChildProcessHost; 79 class BrowserChildProcessHost;
75 class BrowserContext; 80 class BrowserContext;
76 class BrowserMainParts; 81 class BrowserMainParts;
77 class BrowserPpapiHost; 82 class BrowserPpapiHost;
78 class BrowserURLHandler; 83 class BrowserURLHandler;
79 class LocationProvider; 84 class LocationProvider;
80 class MediaObserver; 85 class MediaObserver;
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 528
524 // Returns an implementation of a file selecition policy. Can return NULL. 529 // Returns an implementation of a file selecition policy. Can return NULL.
525 virtual ui::SelectFilePolicy* CreateSelectFilePolicy( 530 virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
526 WebContents* web_contents); 531 WebContents* web_contents);
527 532
528 // Returns additional allowed scheme set which can access files in 533 // Returns additional allowed scheme set which can access files in
529 // FileSystem API. 534 // FileSystem API.
530 virtual void GetAdditionalAllowedSchemesForFileSystem( 535 virtual void GetAdditionalAllowedSchemesForFileSystem(
531 std::vector<std::string>* additional_schemes) {} 536 std::vector<std::string>* additional_schemes) {}
532 537
533 // Returns additional MountPointProviders for FileSystem API. 538 // Returns additional MountPointProviders for FileSystem API.
satorux1 2013/06/25 20:30:06 Please add descriptions for the new parameters. wh
hidehiko 2013/06/26 04:31:35 Done.
534 virtual void GetAdditionalFileSystemMountPointProviders( 539 virtual void GetAdditionalFileSystemMountPointProviders(
535 const base::FilePath& storage_partition_path, 540 const base::FilePath& storage_partition_path,
541 quota::SpecialStoragePolicy* special_storage_policy,
542 fileapi::ExternalMountPoints* external_mount_points,
536 ScopedVector<fileapi::FileSystemMountPointProvider>* 543 ScopedVector<fileapi::FileSystemMountPointProvider>*
537 additional_providers) {} 544 additional_providers) {}
538 545
539 // Allows an embedder to return its own LocationProvider implementation. 546 // Allows an embedder to return its own LocationProvider implementation.
540 // Return NULL to use the default one for the platform to be created. 547 // Return NULL to use the default one for the platform to be created.
541 virtual LocationProvider* OverrideSystemLocationProvider(); 548 virtual LocationProvider* OverrideSystemLocationProvider();
542 549
543 #if defined(OS_POSIX) && !defined(OS_MACOSX) 550 #if defined(OS_POSIX) && !defined(OS_MACOSX)
544 // Populates |mappings| with all files that need to be mapped before launching 551 // Populates |mappings| with all files that need to be mapped before launching
545 // a child process. 552 // a child process.
(...skipping 19 matching lines...) Expand all
565 // This is called on a worker thread. 572 // This is called on a worker thread.
566 virtual 573 virtual
567 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 574 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
568 const GURL& url); 575 const GURL& url);
569 #endif 576 #endif
570 }; 577 };
571 578
572 } // namespace content 579 } // namespace content
573 580
574 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 581 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698