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

Side by Side Diff: chrome/browser/printing/print_dialog_cloud_internal.h

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 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_PRINT_DIALOG_CLOUD_INTERNAL_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // The CloudPrintFlowHandler connects the state machine (the UI delegate) 90 // The CloudPrintFlowHandler connects the state machine (the UI delegate)
91 // to the dialog backing HTML and JS by providing WebUIMessageHandler 91 // to the dialog backing HTML and JS by providing WebUIMessageHandler
92 // functions for the JS to use. This include refreshing the page 92 // functions for the JS to use. This include refreshing the page
93 // setup parameters (which will cause a re-generation of the PDF in 93 // setup parameters (which will cause a re-generation of the PDF in
94 // the renderer process - do we want a progress throbber shown? 94 // the renderer process - do we want a progress throbber shown?
95 // Probably..), and packing up the PDF and job parameters and sending 95 // Probably..), and packing up the PDF and job parameters and sending
96 // them to the cloud. 96 // them to the cloud.
97 class CloudPrintFlowHandler : public WebUIMessageHandler, 97 class CloudPrintFlowHandler : public WebUIMessageHandler,
98 public NotificationObserver { 98 public NotificationObserver {
99 public: 99 public:
100 explicit CloudPrintFlowHandler(const FilePath& path_to_file, 100 CloudPrintFlowHandler(const FilePath& path_to_file,
101 const string16& print_job_title, 101 const string16& print_job_title,
102 const std::string& file_type); 102 const std::string& file_type);
103 virtual ~CloudPrintFlowHandler(); 103 virtual ~CloudPrintFlowHandler();
104 104
105 // WebUIMessageHandler implementation. 105 // WebUIMessageHandler implementation.
106 virtual void RegisterMessages(); 106 virtual void RegisterMessages();
107 107
108 // NotificationObserver implementation. 108 // NotificationObserver implementation.
109 virtual void Observe(int type, 109 virtual void Observe(int type,
110 const NotificationSource& source, 110 const NotificationSource& source,
111 const NotificationDetails& details); 111 const NotificationDetails& details);
112 112
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 void CreateDialogImpl(const FilePath& path_to_file, 189 void CreateDialogImpl(const FilePath& path_to_file,
190 const string16& print_job_title, 190 const string16& print_job_title,
191 const std::string& file_type, 191 const std::string& file_type,
192 bool modal); 192 bool modal);
193 193
194 void Delete(const FilePath& path_to_file); 194 void Delete(const FilePath& path_to_file);
195 195
196 } // namespace internal_cloud_print_helpers 196 } // namespace internal_cloud_print_helpers
197 197
198 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ 198 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_policy_cache.h ('k') | chrome/browser/printing/print_dialog_cloud_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698