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

Side by Side Diff: chrome/browser/devtools/devtools_protocol.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DEVTOOLS_PROTOCOL_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 12
14 // Utility class for processing DevTools remote debugging messages. 13 // Utility class for processing DevTools remote debugging messages.
15 class DevToolsProtocol { 14 class DevToolsProtocol {
16 public: 15 public:
17 // Caller maintains ownership of |command|. |*params| is owned by |command|. 16 // Caller maintains ownership of |command|. |*params| is owned by |command|.
18 static bool ParseCommand(base::DictionaryValue* command, 17 static bool ParseCommand(base::DictionaryValue* command,
19 int* command_id, 18 int* command_id,
20 std::string* method, 19 std::string* method,
(...skipping 18 matching lines...) Expand all
39 static scoped_ptr<base::DictionaryValue> CreateInvalidParamsResponse( 38 static scoped_ptr<base::DictionaryValue> CreateInvalidParamsResponse(
40 int command_id, 39 int command_id,
41 const std::string& param); 40 const std::string& param);
42 41
43 private: 42 private:
44 DevToolsProtocol() {} 43 DevToolsProtocol() {}
45 ~DevToolsProtocol() {} 44 ~DevToolsProtocol() {}
46 }; 45 };
47 46
48 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 47 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_network_transaction.h ('k') | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698