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

Side by Side Diff: chrome/service/cloud_print/cloud_print_connector.h

Issue 628083002: Replacing the OVERRIDE with override and FINAL with final in chrome/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONNECTOR_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONNECTOR_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONNECTOR_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONNECTOR_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Optional members, depending on type. 78 // Optional members, depending on type.
79 std::string printer_id; // For pending delete. 79 std::string printer_id; // For pending delete.
80 printing::PrinterBasicInfo printer_info; // For pending registration. 80 printing::PrinterBasicInfo printer_info; // For pending registration.
81 81
82 PendingTask() : type(PENDING_PRINTERS_NONE) {} 82 PendingTask() : type(PENDING_PRINTERS_NONE) {}
83 ~PendingTask() {} 83 ~PendingTask() {}
84 }; 84 };
85 85
86 virtual ~CloudPrintConnector(); 86 virtual ~CloudPrintConnector();
87 // PrintServerWatcherDelegate implementation 87 // PrintServerWatcherDelegate implementation
88 virtual void OnPrinterAdded() OVERRIDE; 88 virtual void OnPrinterAdded() override;
89 // PrinterJobHandler::Delegate implementation 89 // PrinterJobHandler::Delegate implementation
90 virtual void OnPrinterDeleted(const std::string& printer_name) OVERRIDE; 90 virtual void OnPrinterDeleted(const std::string& printer_name) override;
91 virtual void OnAuthError() OVERRIDE; 91 virtual void OnAuthError() override;
92 92
93 // CloudPrintURLFetcher::Delegate implementation. 93 // CloudPrintURLFetcher::Delegate implementation.
94 virtual CloudPrintURLFetcher::ResponseAction HandleRawData( 94 virtual CloudPrintURLFetcher::ResponseAction HandleRawData(
95 const net::URLFetcher* source, 95 const net::URLFetcher* source,
96 const GURL& url, 96 const GURL& url,
97 const std::string& data) OVERRIDE; 97 const std::string& data) override;
98 virtual CloudPrintURLFetcher::ResponseAction HandleJSONData( 98 virtual CloudPrintURLFetcher::ResponseAction HandleJSONData(
99 const net::URLFetcher* source, 99 const net::URLFetcher* source,
100 const GURL& url, 100 const GURL& url,
101 base::DictionaryValue* json_data, 101 base::DictionaryValue* json_data,
102 bool succeeded) OVERRIDE; 102 bool succeeded) override;
103 virtual CloudPrintURLFetcher::ResponseAction OnRequestAuthError() OVERRIDE; 103 virtual CloudPrintURLFetcher::ResponseAction OnRequestAuthError() override;
104 virtual std::string GetAuthHeader() OVERRIDE; 104 virtual std::string GetAuthHeader() override;
105 105
106 // Begin response handlers 106 // Begin response handlers
107 CloudPrintURLFetcher::ResponseAction HandlePrinterListResponse( 107 CloudPrintURLFetcher::ResponseAction HandlePrinterListResponse(
108 const net::URLFetcher* source, 108 const net::URLFetcher* source,
109 const GURL& url, 109 const GURL& url,
110 base::DictionaryValue* json_data, 110 base::DictionaryValue* json_data,
111 bool succeeded); 111 bool succeeded);
112 112
113 CloudPrintURLFetcher::ResponseAction HandlePrinterListResponseSettingsUpdate( 113 CloudPrintURLFetcher::ResponseAction HandlePrinterListResponseSettingsUpdate(
114 const net::URLFetcher* source, 114 const net::URLFetcher* source,
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 scoped_refptr<CloudPrintURLFetcher> user_message_request_; 198 scoped_refptr<CloudPrintURLFetcher> user_message_request_;
199 base::WeakPtrFactory<CloudPrintConnector> stats_ptr_factory_; 199 base::WeakPtrFactory<CloudPrintConnector> stats_ptr_factory_;
200 200
201 DISALLOW_COPY_AND_ASSIGN(CloudPrintConnector); 201 DISALLOW_COPY_AND_ASSIGN(CloudPrintConnector);
202 }; 202 };
203 203
204 } // namespace cloud_print 204 } // namespace cloud_print
205 205
206 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONNECTOR_H_ 206 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONNECTOR_H_
207 207
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_auth.h ('k') | chrome/service/cloud_print/cloud_print_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698