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

Side by Side Diff: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtils.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 /* 1 /*
2 * Copyright (C) 2011, Google Inc. All rights reserved. 2 * Copyright (C) 2011, Google Inc. All rights reserved.
3 * Copyright (C) 2014, Samsung Electronics. All rights reserved. 3 * Copyright (C) 2014, Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 */ 25 */
26 26
27 #include "modules/navigatorcontentutils/NavigatorContentUtils.h" 27 #include "modules/navigatorcontentutils/NavigatorContentUtils.h"
28 28
29 #include "bindings/core/v8/ExceptionState.h" 29 #include "bindings/core/v8/ExceptionState.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/dom/ExceptionCode.h" 31 #include "core/dom/ExceptionCode.h"
32 #include "core/frame/LocalFrame.h" 32 #include "core/frame/LocalFrame.h"
33 #include "core/frame/Navigator.h" 33 #include "core/frame/Navigator.h"
34 #include "core/frame/UseCounter.h" 34 #include "core/frame/UseCounter.h"
35 #include "wtf/HashSet.h" 35 #include "platform/wtf/HashSet.h"
36 #include "wtf/text/StringBuilder.h" 36 #include "platform/wtf/text/StringBuilder.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 static HashSet<String>* g_scheme_whitelist; 40 static HashSet<String>* g_scheme_whitelist;
41 41
42 static void InitCustomSchemeHandlerWhitelist() { 42 static void InitCustomSchemeHandlerWhitelist() {
43 g_scheme_whitelist = new HashSet<String>; 43 g_scheme_whitelist = new HashSet<String>;
44 static const char* const kSchemes[] = { 44 static const char* const kSchemes[] = {
45 "bitcoin", "geo", "im", "irc", "ircs", "magnet", "mailto", 45 "bitcoin", "geo", "im", "irc", "ircs", "magnet", "mailto",
46 "mms", "news", "nntp", "openpgp4fpr", "sip", "sms", "smsto", 46 "mms", "news", "nntp", "openpgp4fpr", "sip", "sms", "smsto",
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 } 242 }
243 243
244 void NavigatorContentUtils::ProvideTo(Navigator& navigator, 244 void NavigatorContentUtils::ProvideTo(Navigator& navigator,
245 NavigatorContentUtilsClient* client) { 245 NavigatorContentUtilsClient* client) {
246 Supplement<Navigator>::ProvideTo( 246 Supplement<Navigator>::ProvideTo(
247 navigator, NavigatorContentUtils::SupplementName(), 247 navigator, NavigatorContentUtils::SupplementName(),
248 new NavigatorContentUtils(navigator, client)); 248 new NavigatorContentUtils(navigator, client));
249 } 249 }
250 250
251 } // namespace blink 251 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698