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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_setup_handler.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_HANDLER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h" 10 #include "chrome/browser/printing/cloud_print/cloud_print_setup_flow.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 virtual ~Delegate() {} 23 virtual ~Delegate() {}
24 // Called when the setup dialog is closed. 24 // Called when the setup dialog is closed.
25 virtual void OnCloudPrintSetupClosed() = 0; 25 virtual void OnCloudPrintSetupClosed() = 0;
26 }; 26 };
27 27
28 explicit CloudPrintSetupHandler(Delegate* handler); 28 explicit CloudPrintSetupHandler(Delegate* handler);
29 virtual ~CloudPrintSetupHandler(); 29 virtual ~CloudPrintSetupHandler();
30 30
31 // CloudPrintSetupFlow::Delegate implementation. 31 // CloudPrintSetupFlow::Delegate implementation.
32 virtual void OnDialogClosed(); 32 virtual void OnDialogClosed() OVERRIDE;
33 33
34 private: 34 private:
35 Delegate* handler_; 35 Delegate* handler_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupHandler); 37 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupHandler);
38 }; 38 };
39 39
40 // Workaround for MSVC 2005 not handling inheritance from nested classes well. 40 // Workaround for MSVC 2005 not handling inheritance from nested classes well.
41 typedef CloudPrintSetupHandler::Delegate CloudPrintSetupHandlerDelegate; 41 typedef CloudPrintSetupHandler::Delegate CloudPrintSetupHandlerDelegate;
42 42
43 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_ 43 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698