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

Side by Side Diff: chrome/service/cloud_print/cloud_print_wipeout.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_WIPEOUT_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 virtual ~CloudPrintWipeout(); 28 virtual ~CloudPrintWipeout();
29 29
30 void UnregisterPrinters(const std::string& auth_token, 30 void UnregisterPrinters(const std::string& auth_token,
31 const std::list<std::string>& printer_ids); 31 const std::list<std::string>& printer_ids);
32 32
33 // CloudPrintURLFetcher::Delegate implementation. 33 // CloudPrintURLFetcher::Delegate implementation.
34 virtual CloudPrintURLFetcher::ResponseAction HandleJSONData( 34 virtual CloudPrintURLFetcher::ResponseAction HandleJSONData(
35 const net::URLFetcher* source, 35 const net::URLFetcher* source,
36 const GURL& url, 36 const GURL& url,
37 base::DictionaryValue* json_data, 37 base::DictionaryValue* json_data,
38 bool succeeded) OVERRIDE; 38 bool succeeded) override;
39 virtual void OnRequestGiveUp() OVERRIDE; 39 virtual void OnRequestGiveUp() override;
40 virtual CloudPrintURLFetcher::ResponseAction OnRequestAuthError() OVERRIDE; 40 virtual CloudPrintURLFetcher::ResponseAction OnRequestAuthError() override;
41 virtual std::string GetAuthHeader() OVERRIDE; 41 virtual std::string GetAuthHeader() override;
42 42
43 private: 43 private:
44 void UnregisterNextPrinter(); 44 void UnregisterNextPrinter();
45 45
46 // CloudPrintWipeout client. 46 // CloudPrintWipeout client.
47 Client* client_; 47 Client* client_;
48 // Cloud Print server url. 48 // Cloud Print server url.
49 GURL cloud_print_server_url_; 49 GURL cloud_print_server_url_;
50 // The CloudPrintURLFetcher instance for the current request. 50 // The CloudPrintURLFetcher instance for the current request.
51 scoped_refptr<CloudPrintURLFetcher> request_; 51 scoped_refptr<CloudPrintURLFetcher> request_;
52 // Auth token. 52 // Auth token.
53 std::string auth_token_; 53 std::string auth_token_;
54 // List of printer to unregister 54 // List of printer to unregister
55 std::list<std::string> printer_ids_; 55 std::list<std::string> printer_ids_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(CloudPrintWipeout); 57 DISALLOW_COPY_AND_ASSIGN(CloudPrintWipeout);
58 }; 58 };
59 59
60 } // namespace cloud_print 60 } // namespace cloud_print
61 61
62 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_ 62 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_WIPEOUT_H_
63 63
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698