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

Side by Side Diff: content/browser/debugger/devtools_client_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_DEVTOOLS_CLIENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_CLIENT_HOST_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_CLIENT_HOST_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_CLIENT_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 DevToolsClientHost(); 64 DevToolsClientHost();
65 65
66 void ForwardToDevToolsAgent(const IPC::Message& message); 66 void ForwardToDevToolsAgent(const IPC::Message& message);
67 67
68 // Should be called when the devtools client is going to die and this 68 // Should be called when the devtools client is going to die and this
69 // DevToolsClientHost should not be used anymore. 69 // DevToolsClientHost should not be used anymore.
70 void NotifyCloseListener(); 70 void NotifyCloseListener();
71 71
72 private: 72 private:
73 CloseListener* close_listener_; 73 CloseListener* close_listener_;
74 typedef std::vector<DevToolsClientHost*> DevToolsClientHostList;
75 static DevToolsClientHostList instances_;
76 DISALLOW_COPY_AND_ASSIGN(DevToolsClientHost); 74 DISALLOW_COPY_AND_ASSIGN(DevToolsClientHost);
77 }; 75 };
78 76
79 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_CLIENT_HOST_H_ 77 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_CLIENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_agent_host.h ('k') | content/browser/debugger/devtools_client_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698