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

Side by Side Diff: third_party/WebKit/public/web/WebDevToolsAgentClient.h

Issue 1408363004: [DevTools] Filter any messages from previous sessions in DevToolsAgentHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class WebString; 40 class WebString;
41 struct WebDeviceEmulationParams; 41 struct WebDeviceEmulationParams;
42 42
43 class WebDevToolsAgentClient { 43 class WebDevToolsAgentClient {
44 public: 44 public:
45 // Sends response message over the protocol, update agent state on the brows er side for 45 // Sends response message over the protocol, update agent state on the brows er side for
46 // potential re-attach. |callId| for notifications is 0, |state| for notific ations is empty. 46 // potential re-attach. |callId| for notifications is 0, |state| for notific ations is empty.
47 virtual void sendProtocolMessage(int callId, const WebString& response, cons t WebString& state) { } 47 virtual void sendProtocolMessage(int sessionId, int callId, const WebString& response, const WebString& state) { }
48 48
49 // Returns process id. 49 // Returns process id.
50 virtual long processId() { return -1; } 50 virtual long processId() { return -1; }
51 51
52 // Returns unique identifier of the entity within process. 52 // Returns unique identifier of the entity within process.
53 virtual int debuggerId() { return -1; } 53 virtual int debuggerId() { return -1; }
54 54
55 // Resume the inspected renderer that is waiting for DevTools front-end to i nitialize its state. 55 // Resume the inspected renderer that is waiting for DevTools front-end to i nitialize its state.
56 virtual void resumeStartup() { } 56 virtual void resumeStartup() { }
57 57
(...skipping 10 matching lines...) Expand all
68 virtual void enableTracing(const WebString& categoryFilter) { } 68 virtual void enableTracing(const WebString& categoryFilter) { }
69 virtual void disableTracing() { } 69 virtual void disableTracing() { }
70 70
71 protected: 71 protected:
72 ~WebDevToolsAgentClient() { } 72 ~WebDevToolsAgentClient() { }
73 }; 73 };
74 74
75 } // namespace blink 75 } // namespace blink
76 76
77 #endif 77 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDevToolsAgent.h ('k') | third_party/WebKit/public/web/WebEmbeddedWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698