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

Unified Diff: chrome/browser/profile.h

Issue 1566047: First cut of Cloud Print Proxy implementation. The code is not enabled for no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final review changes Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/printing/cloud_print/printer_job_handler.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profile.h
===================================================================
--- chrome/browser/profile.h (revision 44739)
+++ chrome/browser/profile.h (working copy)
@@ -75,6 +75,7 @@
class WebDataService;
class WebKitContext;
class WebResourceService;
+class CloudPrintProxyService;
typedef intptr_t ProfileId;
@@ -351,6 +352,9 @@
// 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 @@
virtual NTPResourceCache* GetNTPResourceCache();
virtual ProfileSyncService* GetProfileSyncService();
void InitSyncService();
+ virtual CloudPrintProxyService* GetCloudPrintProxyService();
+ void InitCloudPrintProxyService();
// NotificationObserver implementation.
virtual void Observe(NotificationType type,
@@ -571,6 +577,7 @@
scoped_ptr<ProfileSyncFactory> profile_sync_factory_;
scoped_ptr<ProfileSyncService> sync_service_;
+ scoped_ptr<CloudPrintProxyService> cloud_print_proxy_service_;
scoped_refptr<ChromeURLRequestContextGetter> request_context_;
« no previous file with comments | « chrome/browser/printing/cloud_print/printer_job_handler.cc ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698