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

Side by Side Diff: chrome/common/url_constants.cc

Issue 2101019: Print Preview component extension (Closed)
Patch Set: Put it under a flag Created 10 years, 5 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
« no previous file with comments | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <stdlib.h> 5 #include <stdlib.h>
6 6
7 #include "chrome/common/url_constants.h" 7 #include "chrome/common/url_constants.h"
8 #include "googleurl/src/url_util.h" 8 #include "googleurl/src/url_util.h"
9 9
10 namespace chrome { 10 namespace chrome {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 // Use an obfuscated URL to make this nondiscoverable, we only want this 55 // Use an obfuscated URL to make this nondiscoverable, we only want this
56 // to be used for testing. 56 // to be used for testing.
57 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; 57 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz";
58 58
59 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher"; 59 const char kChromeUIAppLauncherURL[] = "chrome://newtab/#mode=app-launcher";
60 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/"; 60 const char kChromeUIBookmarksURL[] = "chrome://bookmarks/";
61 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; 61 const char kChromeUIDevToolsURL[] = "chrome://devtools/";
62 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; 62 const char kChromeUIDownloadsURL[] = "chrome://downloads/";
63 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; 63 const char kChromeUIExtensionsURL[] = "chrome://extensions/";
64 const char kChromeUIHistoryURL[] = "chrome://history/";
65 const char kChromeUIHistory2URL[] = "chrome://history2/";
66 const char kChromeUIPluginsURL[] = "chrome://plugins/";
67 const char kChromeUIPrintPreviewURL[] = "chrome://print";
64 const char kChromeUIFavIconURL[] = "chrome://favicon/"; 68 const char kChromeUIFavIconURL[] = "chrome://favicon/";
65 const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/"; 69 const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/";
66 const char kChromeUIHistoryURL[] = "chrome://history/";
67 const char kChromeUIHistory2URL[] = "chrome://history2/";
68 const char kChromeUIIPCURL[] = "chrome://about/ipc"; 70 const char kChromeUIIPCURL[] = "chrome://about/ipc";
69 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; 71 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/";
70 const char kChromeUINetworkURL[] = "chrome://about/network"; 72 const char kChromeUINetworkURL[] = "chrome://about/network";
71 const char kChromeUINewTabURL[] = "chrome://newtab"; 73 const char kChromeUINewTabURL[] = "chrome://newtab";
72 const char kChromeUIOptionsURL[] = "chrome://options/"; 74 const char kChromeUIOptionsURL[] = "chrome://options/";
73 const char kChromeUIPluginsURL[] = "chrome://plugins/";
74 const char kChromeUIPrintURL[] = "chrome://print/"; 75 const char kChromeUIPrintURL[] = "chrome://print/";
75 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; 76 const char kChromeUISlideshowURL[] = "chrome://slideshow/";
76 77
77 const char kChromeUIBookmarksHost[] = "bookmarks"; 78 const char kChromeUIBookmarksHost[] = "bookmarks";
78 const char kChromeUIDevToolsHost[] = "devtools"; 79 const char kChromeUIDevToolsHost[] = "devtools";
79 const char kChromeUIDialogHost[] = "dialog"; 80 const char kChromeUIDialogHost[] = "dialog";
80 const char kChromeUIDownloadsHost[] = "downloads"; 81 const char kChromeUIDownloadsHost[] = "downloads";
81 const char kChromeUIExtensionsHost[] = "extensions"; 82 const char kChromeUIExtensionsHost[] = "extensions";
82 const char kChromeUIFavIconHost[] = "favicon"; 83 const char kChromeUIFavIconHost[] = "favicon";
83 const char kChromeUIFileBrowseHost[] = "filebrowse"; 84 const char kChromeUIFileBrowseHost[] = "filebrowse";
84 const char kChromeUIHistoryHost[] = "history"; 85 const char kChromeUIHistoryHost[] = "history";
85 const char kChromeUIHistory2Host[] = "history2"; 86 const char kChromeUIHistory2Host[] = "history2";
86 const char kChromeUIInspectorHost[] = "inspector"; 87 const char kChromeUIInspectorHost[] = "inspector";
87 const char kChromeUIMediaplayerHost[] = "mediaplayer"; 88 const char kChromeUIMediaplayerHost[] = "mediaplayer";
88 const char kChromeUINetInternalsHost[] = "net-internals"; 89 const char kChromeUINetInternalsHost[] = "net-internals";
89 const char kChromeUINewTabHost[] = "newtab"; 90 const char kChromeUINewTabHost[] = "newtab";
90 const char kChromeUIOptionsHost[] = "options"; 91 const char kChromeUIOptionsHost[] = "options";
91 const char kChromeUIPluginsHost[] = "plugins"; 92 const char kChromeUIPluginsHost[] = "plugins";
92 const char kChromeUIPrintHost[] = "print"; 93 const char kChromeUIPrintPreviewHost[] = "print";
93 const char kChromeUIRemotingHost[] = "remoting"; 94 const char kChromeUIRemotingHost[] = "remoting";
94 const char kChromeUIResourcesHost[] = "resources"; 95 const char kChromeUIResourcesHost[] = "resources";
95 const char kChromeUISlideshowHost[] = "slideshow"; 96 const char kChromeUISlideshowHost[] = "slideshow";
96 const char kChromeUIThemePath[] = "theme"; 97 const char kChromeUIThemePath[] = "theme";
97 const char kChromeUIThumbnailPath[] = "thumb"; 98 const char kChromeUIThumbnailPath[] = "thumb";
98 99
99 const char kSyncResourcesHost[] = "syncresources"; 100 const char kSyncResourcesHost[] = "syncresources";
100 const char kSyncGaiaLoginPath[] = "gaialogin"; 101 const char kSyncGaiaLoginPath[] = "gaialogin";
101 const char kSyncChooseDataTypesPath[] = "choosedatatypes"; 102 const char kSyncChooseDataTypesPath[] = "choosedatatypes";
102 const char kSyncThrobberPath[] = "throbber.png"; 103 const char kSyncThrobberPath[] = "throbber.png";
(...skipping 21 matching lines...) Expand all
124 125
125 // Prevent future modification of the standard schemes list. This is to 126 // Prevent future modification of the standard schemes list. This is to
126 // prevent accidental creation of data races in the program. AddStandardScheme 127 // prevent accidental creation of data races in the program. AddStandardScheme
127 // isn't threadsafe so must be called when GURL isn't used on any other 128 // isn't threadsafe so must be called when GURL isn't used on any other
128 // thread. This is really easy to mess up, so we say that all calls to 129 // thread. This is really easy to mess up, so we say that all calls to
129 // AddStandardScheme in Chrome must be inside this function. 130 // AddStandardScheme in Chrome must be inside this function.
130 url_util::LockStandardSchemes(); 131 url_util::LockStandardSchemes();
131 } 132 }
132 133
133 } // namespace chrome 134 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698