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

Side by Side Diff: chrome/browser/debugger/debugger_remote_service.h

Issue 8612007: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This file declares the DebuggerRemoteServiceCommand struct and the 5 // This file declares the DebuggerRemoteServiceCommand struct and the
6 // DebuggerRemoteService class which handles commands directed to the 6 // DebuggerRemoteService class which handles commands directed to the
7 // "V8Debugger" tool. 7 // "V8Debugger" tool.
8 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ 8 #ifndef CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_
9 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ 9 #define CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_
10 #pragma once 10 #pragma once
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // as the "result" field in |response|, otherwise the result 61 // as the "result" field in |response|, otherwise the result
62 // will not be propagated back to the caller. 62 // will not be propagated back to the caller.
63 void DetachFromTab(const std::string& destination, 63 void DetachFromTab(const std::string& destination,
64 base::DictionaryValue* response); 64 base::DictionaryValue* response);
65 65
66 // DevToolsRemoteListener interface. 66 // DevToolsRemoteListener interface.
67 67
68 // Processes |message| from the remote debugger, where the tool is 68 // Processes |message| from the remote debugger, where the tool is
69 // "V8Debugger". Either sends the reply immediately or waits for an 69 // "V8Debugger". Either sends the reply immediately or waits for an
70 // asynchronous response from the V8 debugger. 70 // asynchronous response from the V8 debugger.
71 virtual void HandleMessage(const DevToolsRemoteMessage& message); 71 virtual void HandleMessage(const DevToolsRemoteMessage& message) OVERRIDE;
72 72
73 // Gets invoked on the remote debugger [socket] connection loss. 73 // Gets invoked on the remote debugger [socket] connection loss.
74 // Notifies the InspectableTabProxy of the remote debugger detachment. 74 // Notifies the InspectableTabProxy of the remote debugger detachment.
75 virtual void OnConnectionLost(); 75 virtual void OnConnectionLost() OVERRIDE;
76 76
77 // Specifies a tool name ("V8Debugger") handled by this class. 77 // Specifies a tool name ("V8Debugger") handled by this class.
78 static const char kToolName[]; 78 static const char kToolName[];
79 79
80 private: 80 private:
81 // Operation result returned in the "result" field. 81 // Operation result returned in the "result" field.
82 typedef enum { 82 typedef enum {
83 RESULT_OK = 0, 83 RESULT_OK = 0,
84 RESULT_ILLEGAL_TAB_STATE, 84 RESULT_ILLEGAL_TAB_STATE,
85 RESULT_UNKNOWN_TAB, 85 RESULT_UNKNOWN_TAB,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 bool DispatchEvaluateJavascript(int tab_uid, 118 bool DispatchEvaluateJavascript(int tab_uid,
119 base::DictionaryValue* content, 119 base::DictionaryValue* content,
120 base::DictionaryValue* response); 120 base::DictionaryValue* response);
121 121
122 // The delegate is used to get an InspectableTabProxy instance. 122 // The delegate is used to get an InspectableTabProxy instance.
123 DevToolsProtocolHandler* delegate_; 123 DevToolsProtocolHandler* delegate_;
124 DISALLOW_COPY_AND_ASSIGN(DebuggerRemoteService); 124 DISALLOW_COPY_AND_ASSIGN(DebuggerRemoteService);
125 }; 125 };
126 126
127 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_ 127 #endif // CHROME_BROWSER_DEBUGGER_DEBUGGER_REMOTE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698