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

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

Issue 10832034: Upstreaming AndroidProtocolAdapter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 (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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 } // namespace chrome 48 } // namespace chrome
49 49
50 namespace content { 50 namespace content {
51 51
52 const char kStandardSchemeSeparator[] = "://"; 52 const char kStandardSchemeSeparator[] = "://";
53 53
54 // This error URL is loaded in normal web renderer processes, so it should not 54 // This error URL is loaded in normal web renderer processes, so it should not
55 // have a chrome:// scheme that might let it be confused with a WebUI page. 55 // have a chrome:// scheme that might let it be confused with a WebUI page.
56 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; 56 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
57 57
58 const char kContentScheme[] = "content";
59 const char kGeoScheme[] = "geo";
60 const char kTelScheme[] = "tel";
Sami 2012/07/26 15:12:32 Ditto.
felipeg 2012/07/26 15:37:43 Done.
61 const char kAndroidAssetPath[] = "/android_asset/";
62 const char kAndroidResourcePath[] = "/android_res/";
63
58 // This URL is loaded when a page is swapped out and replaced by a page in a 64 // 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 65 // different renderer process. It must have a unique origin that cannot be
60 // scripted by other pages in the process. 66 // scripted by other pages in the process.
61 const char kSwappedOutURL[] = "swappedout://"; 67 const char kSwappedOutURL[] = "swappedout://";
62 68
63 const char* const* GetSavableSchemes() { 69 const char* const* GetSavableSchemes() {
64 return GetSavableSchemesInternal(); 70 return GetSavableSchemesInternal();
65 } 71 }
66 72
67 } // namespace content 73 } // namespace content
OLDNEW
« content/public/common/url_constants.h ('K') | « content/public/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698