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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_setup_flow.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_SETUP_FLOW_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 77 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
78 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog) 78 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog)
79 OVERRIDE; 79 OVERRIDE;
80 virtual string16 GetDialogTitle() const OVERRIDE; 80 virtual string16 GetDialogTitle() const OVERRIDE;
81 virtual bool IsDialogModal() const OVERRIDE; 81 virtual bool IsDialogModal() const OVERRIDE;
82 virtual bool ShouldShowDialogTitle() const OVERRIDE; 82 virtual bool ShouldShowDialogTitle() const OVERRIDE;
83 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; 83 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
84 84
85 // GaiaAuthConsumer implementation. 85 // GaiaAuthConsumer implementation.
86 virtual void OnClientLoginSuccess( 86 virtual void OnClientLoginSuccess(
87 const GaiaAuthConsumer::ClientLoginResult& credentials); 87 const GaiaAuthConsumer::ClientLoginResult& credentials) OVERRIDE;
88 virtual void OnClientLoginFailure( 88 virtual void OnClientLoginFailure(
89 const GoogleServiceAuthError& error); 89 const GoogleServiceAuthError& error) OVERRIDE;
90 90
91 private: 91 private:
92 friend class CloudPrintServiceProcessHelper; 92 friend class CloudPrintServiceProcessHelper;
93 friend class CloudPrintSetupMessageHandler; 93 friend class CloudPrintSetupMessageHandler;
94 94
95 // Use static Run method to get an instance. 95 // Use static Run method to get an instance.
96 CloudPrintSetupFlow(const std::string& args, Profile* profile, 96 CloudPrintSetupFlow(const std::string& args, Profile* profile,
97 const base::WeakPtr<Delegate>& delegate, bool setup_done); 97 const base::WeakPtr<Delegate>& delegate, bool setup_done);
98 98
99 // Called CloudPrintSetupMessageHandler when a DOM is attached. This method 99 // Called CloudPrintSetupMessageHandler when a DOM is attached. This method
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool setup_done_; 142 bool setup_done_;
143 143
144 // Handle to the ServiceProcessControl which talks to the service process. 144 // Handle to the ServiceProcessControl which talks to the service process.
145 ServiceProcessControl* process_control_; 145 ServiceProcessControl* process_control_;
146 base::WeakPtr<Delegate> delegate_; 146 base::WeakPtr<Delegate> delegate_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow); 148 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow);
149 }; 149 };
150 150
151 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 151 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698