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

Side by Side Diff: content/browser/debugger/render_view_devtools_agent_host.h

Issue 8493016: content: Remove 16 exit time destructors and 15 static initializers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac compile 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 #ifndef CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 24 matching lines...) Expand all
35 virtual void RenderViewHostDestroyed(RenderViewHost* rvh) OVERRIDE; 35 virtual void RenderViewHostDestroyed(RenderViewHost* rvh) OVERRIDE;
36 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 36 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
37 37
38 void OnForwardToClient(const IPC::Message& message); 38 void OnForwardToClient(const IPC::Message& message);
39 void OnSaveAgentRuntimeState(const std::string& state); 39 void OnSaveAgentRuntimeState(const std::string& state);
40 void OnClearBrowserCache(); 40 void OnClearBrowserCache();
41 void OnClearBrowserCookies(); 41 void OnClearBrowserCookies();
42 42
43 RenderViewHost* render_view_host_; 43 RenderViewHost* render_view_host_;
44 44
45 typedef std::map<RenderViewHost*, RenderViewDevToolsAgentHost*> Instances;
46 static Instances instances_;
47
48 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); 45 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
49 }; 46 };
50 47
51 #endif // CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 48 #endif // CONTENT_BROWSER_DEBUGGER_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698