| Index: content/browser/devtools/devtools_protocol.h
|
| diff --git a/content/browser/devtools/devtools_protocol.h b/content/browser/devtools/devtools_protocol.h
|
| index b1c5ec64e0f0d9ce9ec19cc57cbe39a2111b27bb..86cf5b6c765cdfc2549f07702698f9ef97f99b96 100644
|
| --- a/content/browser/devtools/devtools_protocol.h
|
| +++ b/content/browser/devtools/devtools_protocol.h
|
| @@ -31,20 +31,20 @@ class DevToolsProtocol {
|
| public:
|
| ~Command();
|
|
|
| - int id() { return id_; }
|
| - std::string domain() { return domain_; }
|
| - std::string method() { return method_; }
|
| - base::DictionaryValue* params() { return params_.get(); }
|
| + int id() const { return id_; }
|
| + std::string domain() const { return domain_; }
|
| + std::string method() const { return method_; }
|
| + base::DictionaryValue* params() const { return params_.get(); }
|
|
|
| // Creates success response. Takes ownership of |result|.
|
| - scoped_ptr<Response> SuccessResponse(base::DictionaryValue* result);
|
| + scoped_ptr<Response> SuccessResponse(base::DictionaryValue* result) const;
|
|
|
| // Creates error response. Caller takes ownership of the return value.
|
| scoped_ptr<Response> ErrorResponse(int error_code,
|
| - const std::string& error_message);
|
| + const std::string& error_message) const;
|
|
|
| // Creates error response. Caller takes ownership of the return value.
|
| - scoped_ptr<Response> NoSuchMethodErrorResponse();
|
| + scoped_ptr<Response> NoSuchMethodErrorResponse() const;
|
|
|
| private:
|
| friend class DevToolsProtocol;
|
|
|