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

Unified Diff: content/browser/devtools/devtools_agent_host_impl.h

Issue 2933243002: [DevTools] Make DevToolsSession own it's DevToolsMessageChunkProcessor (Closed)
Patch Set: addressed comments Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/devtools/devtools_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/devtools/devtools_agent_host_impl.h
diff --git a/content/browser/devtools/devtools_agent_host_impl.h b/content/browser/devtools/devtools_agent_host_impl.h
index 774c925a8d9f0fa5ab56a26d7a197fb52ac73548..6b2a7851949819e230bdcce6f83aa212c29478dd 100644
--- a/content/browser/devtools/devtools_agent_host_impl.h
+++ b/content/browser/devtools/devtools_agent_host_impl.h
@@ -91,7 +91,7 @@ class DevToolsMessageChunkProcessor {
explicit DevToolsMessageChunkProcessor(const SendMessageCallback& callback);
~DevToolsMessageChunkProcessor();
- std::string state_cookie() const { return state_cookie_; }
+ const std::string& state_cookie() const { return state_cookie_; }
void set_state_cookie(const std::string& cookie) { state_cookie_ = cookie; }
int last_call_id() const { return last_call_id_; }
bool ProcessChunkedMessageFromAgent(const DevToolsMessageChunk& chunk);
« no previous file with comments | « no previous file | content/browser/devtools/devtools_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698