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_ |