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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8InspectorImpl.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) 2010-2011 Google Inc. All rights reserved. 2 * Copyright (c) 2010-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/V8ConsoleMessage.h" 36 #include "platform/v8_inspector/V8ConsoleMessage.h"
37 #include "platform/v8_inspector/V8Debugger.h" 37 #include "platform/v8_inspector/V8Debugger.h"
38 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" 38 #include "platform/v8_inspector/V8DebuggerAgentImpl.h"
39 #include "platform/v8_inspector/V8InspectorSessionImpl.h" 39 #include "platform/v8_inspector/V8InspectorSessionImpl.h"
40 #include "platform/v8_inspector/V8RuntimeAgentImpl.h" 40 #include "platform/v8_inspector/V8RuntimeAgentImpl.h"
41 #include "platform/v8_inspector/V8StackTraceImpl.h" 41 #include "platform/v8_inspector/V8StackTraceImpl.h"
42 #include "platform/v8_inspector/V8StringUtil.h" 42 #include "platform/v8_inspector/V8StringUtil.h"
43 #include "platform/v8_inspector/public/V8InspectorClient.h" 43 #include "platform/v8_inspector/public/V8InspectorClient.h"
44 #include <v8-profiler.h> 44 #include <v8-profiler.h>
45 45
46 namespace blink { 46 namespace v8_inspector {
47 47
48 std::unique_ptr<V8Inspector> V8Inspector::create(v8::Isolate* isolate, V8Inspect orClient* client) 48 std::unique_ptr<V8Inspector> V8Inspector::create(v8::Isolate* isolate, V8Inspect orClient* client)
49 { 49 {
50 return wrapUnique(new V8InspectorImpl(isolate, client)); 50 return wrapUnique(new V8InspectorImpl(isolate, client));
51 } 51 }
52 52
53 V8InspectorImpl::V8InspectorImpl(v8::Isolate* isolate, V8InspectorClient* client ) 53 V8InspectorImpl::V8InspectorImpl(v8::Isolate* isolate, V8InspectorClient* client )
54 : m_isolate(isolate) 54 : m_isolate(isolate)
55 , m_client(client) 55 , m_client(client)
56 , m_debugger(new V8Debugger(isolate, this)) 56 , m_debugger(new V8Debugger(isolate, this))
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 } 340 }
341 341
342 V8InspectorSessionImpl* V8InspectorImpl::sessionForContextGroup(int contextGroup Id) 342 V8InspectorSessionImpl* V8InspectorImpl::sessionForContextGroup(int contextGroup Id)
343 { 343 {
344 if (!contextGroupId) 344 if (!contextGroupId)
345 return nullptr; 345 return nullptr;
346 SessionMap::iterator iter = m_sessions.find(contextGroupId); 346 SessionMap::iterator iter = m_sessions.find(contextGroupId);
347 return iter == m_sessions.end() ? nullptr : iter->second; 347 return iter == m_sessions.end() ? nullptr : iter->second;
348 } 348 }
349 349
350 } // namespace blink 350 } // namespace v8_inspector
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698