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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual void DisableForUser(); 46 virtual void DisableForUser();
47 47
48 // Query the service process for the status of the cloud print proxy and 48 // Query the service process for the status of the cloud print proxy and
49 // update the browser prefs. 49 // update the browser prefs.
50 void RefreshStatusFromService(); 50 void RefreshStatusFromService();
51 51
52 bool ShowTokenExpiredNotification(); 52 bool ShowTokenExpiredNotification();
53 std::string proxy_id() const { return proxy_id_; } 53 std::string proxy_id() const { return proxy_id_; }
54 54
55 // CloudPrintSetupHandler::Delegate implementation. 55 // CloudPrintSetupHandler::Delegate implementation.
56 virtual void OnCloudPrintSetupClosed(); 56 virtual void OnCloudPrintSetupClosed() OVERRIDE;
57 57
58 // content::NotificationObserver implementation. 58 // content::NotificationObserver implementation.
59 virtual void Observe(int type, 59 virtual void Observe(int type,
60 const content::NotificationSource& source, 60 const content::NotificationSource& source,
61 const content::NotificationDetails& details) OVERRIDE; 61 const content::NotificationDetails& details) OVERRIDE;
62 62
63 private: 63 private:
64 // NotificationDelegate implementation for the token expired notification. 64 // NotificationDelegate implementation for the token expired notification.
65 class TokenExpiredNotificationDelegate; 65 class TokenExpiredNotificationDelegate;
66 friend class TokenExpiredNotificationDelegate; 66 friend class TokenExpiredNotificationDelegate;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 base::WeakPtrFactory<CloudPrintProxyService> weak_factory_; 99 base::WeakPtrFactory<CloudPrintProxyService> weak_factory_;
100 100
101 // For watching for connector enablement policy changes. 101 // For watching for connector enablement policy changes.
102 PrefChangeRegistrar pref_change_registrar_; 102 PrefChangeRegistrar pref_change_registrar_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService); 104 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService);
105 }; 105 };
106 106
107 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ 107 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/value_map_pref_store.h ('k') | chrome/browser/printing/cloud_print/cloud_print_setup_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698