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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 "bindings/core/v8/V8Binding.h" 8 #include "bindings/core/v8/V8Binding.h"
8 #include "platform/weborigin/KURL.h" 9 #include "platform/weborigin/KURL.h"
9 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
10 #include "wtf/text/StringHash.h" 11 #include "wtf/text/StringHash.h"
11 #include <memory>
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>,
19 WTF::IntHash<int>, 19 WTF::IntHash<int>,
20 WTF::UnsignedWithZeroKeyHashTraits<int>> 20 WTF::UnsignedWithZeroKeyHashTraits<int>>
21 DOMActivityLoggerMapForIsolatedWorld; 21 DOMActivityLoggerMapForIsolatedWorld;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 return 0; 109 return 0;
110 110
111 V8PerContextData* contextData = scriptState->perContextData(); 111 V8PerContextData* contextData = scriptState->perContextData();
112 if (!contextData) 112 if (!contextData)
113 return 0; 113 return 0;
114 114
115 return contextData->activityLogger(); 115 return contextData->activityLogger();
116 } 116 }
117 117
118 } // namespace blink 118 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698