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

Side by Side Diff: chrome/browser/devtools/device/webrtc/send_command_request.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/local_discovery/gcd_api_flow.h" 9 #include "chrome/browser/local_discovery/gcd_api_flow.h"
9 10
10 class SendCommandRequest : public local_discovery::GCDApiFlowRequest { 11 class SendCommandRequest : public local_discovery::GCDApiFlowRequest {
11 public: 12 public:
12 class Delegate { 13 class Delegate {
13 public: 14 public:
14 // It's safe to destroy SendCommandRequest in these methods. 15 // It's safe to destroy SendCommandRequest in these methods.
15 virtual void OnCommandSucceeded(const base::DictionaryValue& value) = 0; 16 virtual void OnCommandSucceeded(const base::DictionaryValue& value) = 0;
16 virtual void OnCommandFailed() = 0; 17 virtual void OnCommandFailed() = 0;
17 18
(...skipping 12 matching lines...) Expand all
30 GURL GetURL() override; 31 GURL GetURL() override;
31 32
32 private: 33 private:
33 std::string upload_data_; 34 std::string upload_data_;
34 Delegate* const delegate_; 35 Delegate* const delegate_;
35 36
36 DISALLOW_COPY_AND_ASSIGN(SendCommandRequest); 37 DISALLOW_COPY_AND_ASSIGN(SendCommandRequest);
37 }; 38 };
38 39
39 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_ 40 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_WEBRTC_SEND_COMMAND_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698