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

Side by Side Diff: content/public/common/url_constants.cc

Issue 10920033: Implement Android WebView BlockNetworkImages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update ContentSetting to new locking semantics. Add a test that does not require http server. Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/common/url_constants.h" 5 #include "content/public/common/url_constants.h"
6 6
7 #include "content/common/savable_url_schemes.h" 7 #include "content/common/savable_url_schemes.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 10 matching lines...) Expand all
21 const char kFileSystemScheme[] = "filesystem"; 21 const char kFileSystemScheme[] = "filesystem";
22 const char kFtpScheme[] = "ftp"; 22 const char kFtpScheme[] = "ftp";
23 const char kGuestScheme[] = "guest"; 23 const char kGuestScheme[] = "guest";
24 const char kHttpScheme[] = "http"; 24 const char kHttpScheme[] = "http";
25 const char kHttpsScheme[] = "https"; 25 const char kHttpsScheme[] = "https";
26 const char kJavaScriptScheme[] = "javascript"; 26 const char kJavaScriptScheme[] = "javascript";
27 const char kMailToScheme[] = "mailto"; 27 const char kMailToScheme[] = "mailto";
28 const char kMetadataScheme[] = "metadata"; 28 const char kMetadataScheme[] = "metadata";
29 const char kSwappedOutScheme[] = "swappedout"; 29 const char kSwappedOutScheme[] = "swappedout";
30 const char kViewSourceScheme[] = "view-source"; 30 const char kViewSourceScheme[] = "view-source";
31 const char kContentScheme[] = "content";
31 32
32 const char kAboutBlankURL[] = "about:blank"; 33 const char kAboutBlankURL[] = "about:blank";
33 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; 34 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals";
34 const char kChromeUIBlobInternalsHost[] = "blob-internals"; 35 const char kChromeUIBlobInternalsHost[] = "blob-internals";
35 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz"; 36 const char kChromeUIBrowserCrashHost[] = "inducebrowsercrashforrealz";
36 const char kChromeUINetworkViewCacheHost[] = "view-http-cache"; 37 const char kChromeUINetworkViewCacheHost[] = "view-http-cache";
37 const char kChromeUITcmallocHost[] = "tcmalloc"; 38 const char kChromeUITcmallocHost[] = "tcmalloc";
38 const char kChromeUIHistogramHost[] = "histograms"; 39 const char kChromeUIHistogramHost[] = "histograms";
39 const char kChromeUICrashURL[] = "chrome://crash"; 40 const char kChromeUICrashURL[] = "chrome://crash";
40 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean"; 41 const char kChromeUIGpuCleanURL[] = "chrome://gpuclean";
(...skipping 17 matching lines...) Expand all
58 // This URL is loaded when a page is swapped out and replaced by a page in a 59 // This URL is loaded when a page is swapped out and replaced by a page in a
59 // different renderer process. It must have a unique origin that cannot be 60 // different renderer process. It must have a unique origin that cannot be
60 // scripted by other pages in the process. 61 // scripted by other pages in the process.
61 const char kSwappedOutURL[] = "swappedout://"; 62 const char kSwappedOutURL[] = "swappedout://";
62 63
63 const char* const* GetSavableSchemes() { 64 const char* const* GetSavableSchemes() {
64 return GetSavableSchemesInternal(); 65 return GetSavableSchemesInternal();
65 } 66 }
66 67
67 } // namespace content 68 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698