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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp

Issue 2246233002: [DevTools] Move platform/v8_inspector classes under v8_inspector namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 #include "platform/v8_inspector/V8Compat.h" 36 #include "platform/v8_inspector/V8Compat.h"
37 #include "platform/v8_inspector/V8ConsoleMessage.h" 37 #include "platform/v8_inspector/V8ConsoleMessage.h"
38 #include "platform/v8_inspector/V8Debugger.h" 38 #include "platform/v8_inspector/V8Debugger.h"
39 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" 39 #include "platform/v8_inspector/V8DebuggerAgentImpl.h"
40 #include "platform/v8_inspector/V8InspectorImpl.h" 40 #include "platform/v8_inspector/V8InspectorImpl.h"
41 #include "platform/v8_inspector/V8InspectorSessionImpl.h" 41 #include "platform/v8_inspector/V8InspectorSessionImpl.h"
42 #include "platform/v8_inspector/V8StackTraceImpl.h" 42 #include "platform/v8_inspector/V8StackTraceImpl.h"
43 #include "platform/v8_inspector/V8StringUtil.h" 43 #include "platform/v8_inspector/V8StringUtil.h"
44 #include "platform/v8_inspector/public/V8InspectorClient.h" 44 #include "platform/v8_inspector/public/V8InspectorClient.h"
45 45
46 namespace blink { 46 namespace v8_inspector {
47 47
48 namespace V8RuntimeAgentImplState { 48 namespace V8RuntimeAgentImplState {
49 static const char customObjectFormatterEnabled[] = "customObjectFormatterEnabled "; 49 static const char customObjectFormatterEnabled[] = "customObjectFormatterEnabled ";
50 static const char runtimeEnabled[] = "runtimeEnabled"; 50 static const char runtimeEnabled[] = "runtimeEnabled";
51 }; 51 };
52 52
53 using protocol::Runtime::ExceptionDetails; 53 using protocol::Runtime::ExceptionDetails;
54 using protocol::Runtime::RemoteObject; 54 using protocol::Runtime::RemoteObject;
55 55
56 static bool hasInternalError(ErrorString* errorString, bool hasError) 56 static bool hasInternalError(ErrorString* errorString, bool hasError)
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 if (m_enabled) 678 if (m_enabled)
679 reportMessage(message, true); 679 reportMessage(message, true);
680 } 680 }
681 681
682 void V8RuntimeAgentImpl::reportMessage(V8ConsoleMessage* message, bool generateP review) 682 void V8RuntimeAgentImpl::reportMessage(V8ConsoleMessage* message, bool generateP review)
683 { 683 {
684 message->reportToFrontend(&m_frontend, m_session, generatePreview); 684 message->reportToFrontend(&m_frontend, m_session, generatePreview);
685 m_frontend.flush(); 685 m_frontend.flush();
686 } 686 }
687 687
688 } // namespace blink 688 } // namespace v8_inspector
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698