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

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

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark histogram suffix as obsolete Created 4 years, 7 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/layouttest_support.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 26 matching lines...) Expand all
37 namespace storage { 37 namespace storage {
38 class DatabaseTracker; 38 class DatabaseTracker;
39 } 39 }
40 40
41 namespace content { 41 namespace content {
42 42
43 class AppCacheService; 43 class AppCacheService;
44 class BrowserContext; 44 class BrowserContext;
45 class CacheStorageContext; 45 class CacheStorageContext;
46 class DOMStorageContext; 46 class DOMStorageContext;
47 class GeofencingManager;
48 class HostZoomLevelContext; 47 class HostZoomLevelContext;
49 class HostZoomMap; 48 class HostZoomMap;
50 class IndexedDBContext; 49 class IndexedDBContext;
51 class PlatformNotificationContext; 50 class PlatformNotificationContext;
52 class ServiceWorkerContext; 51 class ServiceWorkerContext;
53 class ZoomLevelDelegate; 52 class ZoomLevelDelegate;
54 53
55 // Defines what persistent state a child process can access. 54 // Defines what persistent state a child process can access.
56 // 55 //
57 // The StoragePartition defines the view each child process has of the 56 // The StoragePartition defines the view each child process has of the
58 // persistent state inside the BrowserContext. This is used to implement 57 // persistent state inside the BrowserContext. This is used to implement
59 // isolated storage where a renderer with isolated storage cannot see 58 // isolated storage where a renderer with isolated storage cannot see
60 // the cookies, localStorage, etc., that normal web renderers have access to. 59 // the cookies, localStorage, etc., that normal web renderers have access to.
61 class CONTENT_EXPORT StoragePartition { 60 class CONTENT_EXPORT StoragePartition {
62 public: 61 public:
63 virtual base::FilePath GetPath() = 0; 62 virtual base::FilePath GetPath() = 0;
64 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; 63 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
65 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0; 64 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0;
66 virtual storage::QuotaManager* GetQuotaManager() = 0; 65 virtual storage::QuotaManager* GetQuotaManager() = 0;
67 virtual AppCacheService* GetAppCacheService() = 0; 66 virtual AppCacheService* GetAppCacheService() = 0;
68 virtual storage::FileSystemContext* GetFileSystemContext() = 0; 67 virtual storage::FileSystemContext* GetFileSystemContext() = 0;
69 virtual storage::DatabaseTracker* GetDatabaseTracker() = 0; 68 virtual storage::DatabaseTracker* GetDatabaseTracker() = 0;
70 virtual DOMStorageContext* GetDOMStorageContext() = 0; 69 virtual DOMStorageContext* GetDOMStorageContext() = 0;
71 virtual IndexedDBContext* GetIndexedDBContext() = 0; 70 virtual IndexedDBContext* GetIndexedDBContext() = 0;
72 virtual ServiceWorkerContext* GetServiceWorkerContext() = 0; 71 virtual ServiceWorkerContext* GetServiceWorkerContext() = 0;
73 virtual CacheStorageContext* GetCacheStorageContext() = 0; 72 virtual CacheStorageContext* GetCacheStorageContext() = 0;
74 virtual GeofencingManager* GetGeofencingManager() = 0;
75 virtual HostZoomMap* GetHostZoomMap() = 0; 73 virtual HostZoomMap* GetHostZoomMap() = 0;
76 virtual HostZoomLevelContext* GetHostZoomLevelContext() = 0; 74 virtual HostZoomLevelContext* GetHostZoomLevelContext() = 0;
77 virtual ZoomLevelDelegate* GetZoomLevelDelegate() = 0; 75 virtual ZoomLevelDelegate* GetZoomLevelDelegate() = 0;
78 virtual PlatformNotificationContext* GetPlatformNotificationContext() = 0; 76 virtual PlatformNotificationContext* GetPlatformNotificationContext() = 0;
79 77
80 enum : uint32_t { 78 enum : uint32_t {
81 REMOVE_DATA_MASK_APPCACHE = 1 << 0, 79 REMOVE_DATA_MASK_APPCACHE = 1 << 0,
82 REMOVE_DATA_MASK_COOKIES = 1 << 1, 80 REMOVE_DATA_MASK_COOKIES = 1 << 1,
83 REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 2, 81 REMOVE_DATA_MASK_FILE_SYSTEMS = 1 << 2,
84 REMOVE_DATA_MASK_INDEXEDDB = 1 << 3, 82 REMOVE_DATA_MASK_INDEXEDDB = 1 << 3,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // unwritten data has been written out to the filesystem. 166 // unwritten data has been written out to the filesystem.
169 virtual void Flush() = 0; 167 virtual void Flush() = 0;
170 168
171 protected: 169 protected:
172 virtual ~StoragePartition() {} 170 virtual ~StoragePartition() {}
173 }; 171 };
174 172
175 } // namespace content 173 } // namespace content
176 174
177 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 175 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/test/layouttest_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698