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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service.h

Issue 6685008: Cloud print signin crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase past Windows views options removal. Created 9 years, 9 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 | « no previous file | chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
diff --git a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
index 220cbd18d75233ad9f808ece7aea9ec8ce3f24b5..344c39126f3b014dcf1f26552f61cc29be8d6c80 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
+++ b/chrome/browser/printing/cloud_print/cloud_print_proxy_service.h
@@ -11,14 +11,14 @@
#include "base/basictypes.h"
#include "base/observer_list.h"
#include "base/ref_counted.h"
-#include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h"
+#include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h"
class Profile;
// Layer between the browser user interface and the cloud print proxy code
// running in the service process.
class CloudPrintProxyService
- : public CloudPrintSetupFlow::Delegate,
+ : public CloudPrintSetupHandler::Delegate,
public base::RefCountedThreadSafe<CloudPrintProxyService> {
public:
explicit CloudPrintProxyService(Profile* profile);
@@ -38,8 +38,8 @@ class CloudPrintProxyService
bool ShowTokenExpiredNotification();
- // CloudPrintSetupFlow::Delegate implementation.
- virtual void OnDialogClosed();
+ // CloudPrintSetupHandler::Delegate implementation.
+ virtual void OnCloudPrintSetupClosed();
private:
// NotificationDelegate implementation for the token expired notification.
@@ -48,6 +48,7 @@ class CloudPrintProxyService
Profile* profile_;
scoped_refptr<TokenExpiredNotificationDelegate> token_expired_delegate_;
+ scoped_ptr<CloudPrintSetupHandler> cloud_print_setup_handler_;
// Methods that send an IPC to the service.
void RefreshCloudPrintProxyStatus();
@@ -66,7 +67,6 @@ class CloudPrintProxyService
void OnTokenExpiredNotificationClick();
void TokenExpiredNotificationDone(bool keep_alive);
-
DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService);
};
« no previous file with comments | « no previous file | chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698