summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 20:47:32 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 20:47:32 +0000
commit02a5cdbe64dc598efaa25b06a8de02ffe8ea676b (patch)
treee7a04cc50318e21d72109f40f57d1add8de50d21 /chrome/browser/profile.h
parentb2471359cfbd4f7b9621ba2542b947841bfadb27 (diff)
downloadchromium_src-02a5cdbe64dc598efaa25b06a8de02ffe8ea676b.zip
chromium_src-02a5cdbe64dc598efaa25b06a8de02ffe8ea676b.tar.gz
chromium_src-02a5cdbe64dc598efaa25b06a8de02ffe8ea676b.tar.bz2
Provide a profile.GetAppCacheService() accessor and add two helper methods to ChromeAppCacheService to override the default quota for an origin.
BUG=49993 TESTS=existing tests apply Review URL: http://codereview.chromium.org/2819091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 2bf2c22..6403c8f 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -37,6 +37,7 @@ class AutocompleteClassifier;
class BackgroundContentsService;
class BookmarkModel;
class BrowserThemeProvider;
+class ChromeAppCacheService;
class ChromeURLRequestContextGetter;
class DesktopNotificationService;
class DownloadManager;
@@ -154,6 +155,9 @@ class Profile {
// profile is not off the record.
virtual Profile* GetOriginalProfile() = 0;
+ // Returns a pointer to the ChromeAppCacheService instance for this profile.
+ virtual ChromeAppCacheService* GetAppCacheService() = 0;
+
// Returns a pointer to the DatabaseTracker instance for this profile.
virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;