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

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

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « content/public/browser/plugin_service_filter.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_STORAGE_PARTITION_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 6 #define CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 class DOMStorageContext; 39 class DOMStorageContext;
40 40
41 // Defines what persistent state a child process can access. 41 // Defines what persistent state a child process can access.
42 // 42 //
43 // The StoragePartition defines the view each child process has of the 43 // The StoragePartition defines the view each child process has of the
44 // persistent state inside the BrowserContext. This is used to implement 44 // persistent state inside the BrowserContext. This is used to implement
45 // isolated storage where a renderer with isolated storage cannot see 45 // isolated storage where a renderer with isolated storage cannot see
46 // the cookies, localStorage, etc., that normal web renderers have access to. 46 // the cookies, localStorage, etc., that normal web renderers have access to.
47 class StoragePartition { 47 class StoragePartition {
48 public: 48 public:
49 virtual FilePath GetPath() = 0; 49 virtual base::FilePath GetPath() = 0;
50 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; 50 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
51 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0; 51 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0;
52 virtual quota::QuotaManager* GetQuotaManager() = 0; 52 virtual quota::QuotaManager* GetQuotaManager() = 0;
53 virtual appcache::AppCacheService* GetAppCacheService() = 0; 53 virtual appcache::AppCacheService* GetAppCacheService() = 0;
54 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; 54 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;
55 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; 55 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
56 virtual DOMStorageContext* GetDOMStorageContext() = 0; 56 virtual DOMStorageContext* GetDOMStorageContext() = 0;
57 virtual IndexedDBContext* GetIndexedDBContext() = 0; 57 virtual IndexedDBContext* GetIndexedDBContext() = 0;
58 58
59 // Starts an asynchronous task that does a best-effort clear of all the 59 // Starts an asynchronous task that does a best-effort clear of all the
(...skipping 12 matching lines...) Expand all
72 // StoragePartition rather than just the data related to this origin. 72 // StoragePartition rather than just the data related to this origin.
73 virtual void AsyncClearAllData() = 0; 73 virtual void AsyncClearAllData() = 0;
74 74
75 protected: 75 protected:
76 virtual ~StoragePartition() {} 76 virtual ~StoragePartition() {}
77 }; 77 };
78 78
79 } // namespace content 79 } // namespace content
80 80
81 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 81 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
OLDNEW
« no previous file with comments | « content/public/browser/plugin_service_filter.h ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698