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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8DOMActivityLogger.cpp

Issue 2856743002: Clean up bindings/core/v8 (Part 4) (Closed)
Patch Set: Rebase Created 3 years, 7 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium 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 "bindings/core/v8/V8DOMActivityLogger.h" 5 #include "bindings/core/v8/V8DOMActivityLogger.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include "bindings/core/v8/V8Binding.h" 8 #include "platform/bindings/V8Binding.h"
9 #include "platform/weborigin/KURL.h" 9 #include "platform/weborigin/KURL.h"
10 #include "platform/wtf/HashMap.h" 10 #include "platform/wtf/HashMap.h"
11 #include "platform/wtf/text/StringHash.h" 11 #include "platform/wtf/text/StringHash.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 typedef HashMap<String, std::unique_ptr<V8DOMActivityLogger>> 15 typedef HashMap<String, std::unique_ptr<V8DOMActivityLogger>>
16 DOMActivityLoggerMapForMainWorld; 16 DOMActivityLoggerMapForMainWorld;
17 typedef HashMap<int, 17 typedef HashMap<int,
18 std::unique_ptr<V8DOMActivityLogger>, 18 std::unique_ptr<V8DOMActivityLogger>,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 return 0; 105 return 0;
106 106
107 V8PerContextData* context_data = script_state->PerContextData(); 107 V8PerContextData* context_data = script_state->PerContextData();
108 if (!context_data) 108 if (!context_data)
109 return 0; 109 return 0;
110 110
111 return context_data->ActivityLogger(); 111 return context_data->ActivityLogger();
112 } 112 }
113 113
114 } // namespace blink 114 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698