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

Side by Side Diff: src/inspector/injected-script-native.cc

Issue 2338413003: [inspector] change implementation file extension from cpp to cc (Closed)
Patch Set: string16 -> string-16 Created 4 years, 3 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
« no previous file with comments | « src/inspector/injected-script-native.h ('k') | src/inspector/injected-script-source.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project 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 #include "src/inspector/InjectedScriptNative.h" 5 #include "src/inspector/injected-script-native.h"
6 6
7 namespace v8_inspector { 7 namespace v8_inspector {
8 8
9 InjectedScriptNative::InjectedScriptNative(v8::Isolate* isolate) 9 InjectedScriptNative::InjectedScriptNative(v8::Isolate* isolate)
10 : m_lastBoundObjectId(1), m_isolate(isolate) {} 10 : m_lastBoundObjectId(1), m_isolate(isolate) {}
11 11
12 static const char privateKeyName[] = "v8-inspector#injectedScript"; 12 static const char privateKeyName[] = "v8-inspector#injectedScript";
13 13
14 InjectedScriptNative::~InjectedScriptNative() {} 14 InjectedScriptNative::~InjectedScriptNative() {}
15 15
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 String16 InjectedScriptNative::groupName(int objectId) const { 81 String16 InjectedScriptNative::groupName(int objectId) const {
82 if (objectId <= 0) return String16(); 82 if (objectId <= 0) return String16();
83 IdToObjectGroupName::const_iterator iterator = 83 IdToObjectGroupName::const_iterator iterator =
84 m_idToObjectGroupName.find(objectId); 84 m_idToObjectGroupName.find(objectId);
85 return iterator != m_idToObjectGroupName.end() ? iterator->second 85 return iterator != m_idToObjectGroupName.end() ? iterator->second
86 : String16(); 86 : String16();
87 } 87 }
88 88
89 } // namespace v8_inspector 89 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/injected-script-native.h ('k') | src/inspector/injected-script-source.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698