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

Unified Diff: webkit/glue/devtools/debugger_agent_manager.h

Issue 330029: DevTools: Remove base/ dependencies from glue/devtools (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « webkit/glue/devtools/debugger_agent_impl.cc ('k') | webkit/glue/devtools/debugger_agent_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/debugger_agent_manager.h
===================================================================
--- webkit/glue/devtools/debugger_agent_manager.h (revision 30177)
+++ webkit/glue/devtools/debugger_agent_manager.h (working copy)
@@ -6,9 +6,8 @@
#define WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_
#include <wtf/HashMap.h>
+#include <wtf/Noncopyable.h>
-#include "base/basictypes.h"
-#include "base/logging.h"
#include "v8/include/v8-debug.h"
#include "webkit/api/public/WebDevToolsAgent.h"
@@ -33,7 +32,7 @@
// would expect some actions from the handler. If there is no appropriate
// debugger agent to handle such messages the manager will perform the action
// itself, otherwise v8 may hang waiting for the action.
-class DebuggerAgentManager {
+class DebuggerAgentManager : public Noncopyable {
public:
static void DebugAttach(DebuggerAgentImpl* debugger_agent);
static void DebugDetach(DebuggerAgentImpl* debugger_agent);
@@ -56,7 +55,7 @@
class UtilityContextScope {
public:
UtilityContextScope() {
- DCHECK(!in_utility_context_);
+ ASSERT(!in_utility_context_);
in_utility_context_ = true;
}
~UtilityContextScope() {
@@ -95,8 +94,6 @@
static bool in_utility_context_;
static bool debug_break_delayed_;
-
- DISALLOW_COPY_AND_ASSIGN(DebuggerAgentManager);
};
#endif // WEBKIT_GLUE_DEVTOOLS_DEBUGGER_AGENT_MANAGER_H_
« no previous file with comments | « webkit/glue/devtools/debugger_agent_impl.cc ('k') | webkit/glue/devtools/debugger_agent_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698