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

Side by Side Diff: chrome/browser/local_discovery/gcd_registration_ticket_request.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_LOCAL_DISCOVERY_GCD_REGISTRATION_TICKET_REQUEST_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_GCD_REGISTRATION_TICKET_REQUEST_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_GCD_REGISTRATION_TICKET_REQUEST_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_GCD_REGISTRATION_TICKET_REQUEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/local_discovery/gcd_api_flow.h" 12 #include "chrome/browser/local_discovery/gcd_api_flow.h"
13 13
14 namespace local_discovery { 14 namespace local_discovery {
15 15
16 class GCDRegistrationTicketRequest : public GCDApiFlowRequest { 16 class GCDRegistrationTicketRequest : public GCDApiFlowRequest {
17 public: 17 public:
18 // |ticket_id| contains the registration ticket ID, or an empty string in case 18 // |ticket_id| contains the registration ticket ID, or an empty string in case
19 // of an error. 19 // of an error.
20 typedef base::Callback<void(const std::string& ticket_id, 20 typedef base::Callback<void(const std::string& ticket_id,
21 const std::string& device_id)> ResponseCallback; 21 const std::string& device_id)> ResponseCallback;
22 22
23 explicit GCDRegistrationTicketRequest(const ResponseCallback& callback); 23 explicit GCDRegistrationTicketRequest(const ResponseCallback& callback);
24 virtual ~GCDRegistrationTicketRequest(); 24 virtual ~GCDRegistrationTicketRequest();
25 25
26 // GCDApiFlowImpl::Request implementation. 26 // GCDApiFlowImpl::Request implementation.
27 virtual void GetUploadData(std::string* upload_type, 27 virtual void GetUploadData(std::string* upload_type,
28 std::string* upload_data) OVERRIDE; 28 std::string* upload_data) override;
29 virtual net::URLFetcher::RequestType GetRequestType() OVERRIDE; 29 virtual net::URLFetcher::RequestType GetRequestType() override;
30 virtual void OnGCDAPIFlowError(GCDApiFlow::Status status) OVERRIDE; 30 virtual void OnGCDAPIFlowError(GCDApiFlow::Status status) override;
31 virtual void OnGCDAPIFlowComplete( 31 virtual void OnGCDAPIFlowComplete(
32 const base::DictionaryValue& value) OVERRIDE; 32 const base::DictionaryValue& value) override;
33 virtual GURL GetURL() OVERRIDE; 33 virtual GURL GetURL() override;
34 34
35 private: 35 private:
36 ResponseCallback callback_; 36 ResponseCallback callback_;
37 }; 37 };
38 38
39 } // namespace local_discovery 39 } // namespace local_discovery
40 40
41 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_GCD_REGISTRATION_TICKET_REQUEST_H_ 41 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_GCD_REGISTRATION_TICKET_REQUEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/gcd_api_flow_unittest.cc ('k') | chrome/browser/local_discovery/privet_confirm_api_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698