summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authorsanjeevr@google.com <sanjeevr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-20 02:03:48 +0000
committersanjeevr@google.com <sanjeevr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-20 02:03:48 +0000
commit1bd056e69770a53c2778c46918e42e2b8eed6de3 (patch)
tree4534fd75545de891c0a1a3ce549f1ade764e877a /chrome/browser/profile.h
parent4d19b9e62e2e7ce6eff44e3d37617159361b8050 (diff)
downloadchromium_src-1bd056e69770a53c2778c46918e42e2b8eed6de3.zip
chromium_src-1bd056e69770a53c2778c46918e42e2b8eed6de3.tar.gz
chromium_src-1bd056e69770a53c2778c46918e42e2b8eed6de3.tar.bz2
First cut of Cloud Print Proxy implementation. The code is not enabled for now. Soon the cloud print proxy code will move from the browser process to a background process called the service process.
BUG=None TEST=None for now Review URL: http://codereview.chromium.org/1566047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index feee692..751d2e2 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -75,6 +75,7 @@ class VisitedLinkEventListener;
class WebDataService;
class WebKitContext;
class WebResourceService;
+class CloudPrintProxyService;
typedef intptr_t ProfileId;
@@ -351,6 +352,9 @@ class Profile {
// Returns the ProfileSyncService, creating if not yet created.
virtual ProfileSyncService* GetProfileSyncService() = 0;
+ // Returns the CloudPrintProxyService, creating if not yet created.
+ virtual CloudPrintProxyService* GetCloudPrintProxyService() = 0;
+
// Return whether 2 profiles are the same. 2 profiles are the same if they
// represent the same profile. This can happen if there is pointer equality
// or if one profile is the off the record version of another profile (or vice
@@ -516,6 +520,8 @@ class ProfileImpl : public Profile,
virtual NTPResourceCache* GetNTPResourceCache();
virtual ProfileSyncService* GetProfileSyncService();
void InitSyncService();
+ virtual CloudPrintProxyService* GetCloudPrintProxyService();
+ void InitCloudPrintProxyService();
// NotificationObserver implementation.
virtual void Observe(NotificationType type,
@@ -571,6 +577,7 @@ class ProfileImpl : public Profile,
scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
scoped_ptr<ProfileSyncService> sync_service_;
+ scoped_ptr<CloudPrintProxyService> cloud_print_proxy_service_;
scoped_refptr<ChromeURLRequestContextGetter> request_context_;