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/modules/navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 "NavigatorContentUtilsClientMock.h" 5 #include "NavigatorContentUtilsClientMock.h"
6 6
7 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 7 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
8 #include "platform/weborigin/KURL.h" 8 #include "platform/weborigin/KURL.h"
9 #include "wtf/text/StringHash.h" 9 #include "platform/wtf/text/StringHash.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 void NavigatorContentUtilsClientMock::RegisterProtocolHandler( 13 void NavigatorContentUtilsClientMock::RegisterProtocolHandler(
14 const String& scheme, 14 const String& scheme,
15 const KURL& url, 15 const KURL& url,
16 const String& title) { 16 const String& title) {
17 ProtocolInfo info; 17 ProtocolInfo info;
18 info.scheme = scheme; 18 info.scheme = scheme;
19 info.url = url; 19 info.url = url;
(...skipping 15 matching lines...) Expand all
35 return NavigatorContentUtilsClient::kCustomHandlersNew; 35 return NavigatorContentUtilsClient::kCustomHandlersNew;
36 } 36 }
37 37
38 void NavigatorContentUtilsClientMock::UnregisterProtocolHandler( 38 void NavigatorContentUtilsClientMock::UnregisterProtocolHandler(
39 const String& scheme, 39 const String& scheme,
40 const KURL& url) { 40 const KURL& url) {
41 protocol_map_.erase(scheme); 41 protocol_map_.erase(scheme);
42 } 42 }
43 43
44 } // namespace blink 44 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698