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

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

Issue 11234032: Webview tag creation should be using storage partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabling session storage test for isolated apps. Created 8 years, 1 month 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/content_browser_client.cc ('k') | no next file » | 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual FilePath GetPath() = 0; 47 virtual FilePath GetPath() = 0;
48 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0; 48 virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
49 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0; 49 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0;
50 virtual quota::QuotaManager* GetQuotaManager() = 0; 50 virtual quota::QuotaManager* GetQuotaManager() = 0;
51 virtual appcache::AppCacheService* GetAppCacheService() = 0; 51 virtual appcache::AppCacheService* GetAppCacheService() = 0;
52 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; 52 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;
53 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; 53 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
54 virtual DOMStorageContext* GetDOMStorageContext() = 0; 54 virtual DOMStorageContext* GetDOMStorageContext() = 0;
55 virtual IndexedDBContext* GetIndexedDBContext() = 0; 55 virtual IndexedDBContext* GetIndexedDBContext() = 0;
56 56
57 // Returns the relative path from the profile's base directory, to the
58 // directory that holds all the state for storage contexts in |partition_id|.
59 //
60 // TODO(ajwong): Remove this function from the public API once
61 // URLRequestContextGetter's creation is moved into StoragePartition.
62 static CONTENT_EXPORT FilePath GetPartitionPath(
63 const std::string& partition_id);
64
65 protected: 57 protected:
66 virtual ~StoragePartition() {} 58 virtual ~StoragePartition() {}
67 }; 59 };
68 60
69 } // namespace content 61 } // namespace content
70 62
71 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_ 63 #endif // CONTENT_PUBLIC_BROWSER_STORAGE_PARTITION_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698