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

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

Issue 579004: Pull latest googleurl to get various fixes (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/test/unit/chrome_test_suite.h » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 9
9 namespace chrome { 10 namespace chrome {
10 11
11 const char kAboutScheme[] = "about"; 12 const char kAboutScheme[] = "about";
12 const char kChromeInternalScheme[] = "chrome-internal"; 13 const char kChromeInternalScheme[] = "chrome-internal";
13 const char kChromeUIScheme[] = "chrome"; 14 const char kChromeUIScheme[] = "chrome";
14 const char kDataScheme[] = "data"; 15 const char kDataScheme[] = "data";
15 const char kExtensionScheme[] = "chrome-extension"; 16 const char kExtensionScheme[] = "chrome-extension";
16 const char kFileScheme[] = "file"; 17 const char kFileScheme[] = "file";
17 const char kFtpScheme[] = "ftp"; 18 const char kFtpScheme[] = "ftp";
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 const char kSyncResourcesHost[] = "syncresources"; 74 const char kSyncResourcesHost[] = "syncresources";
74 const char kSyncGaiaLoginPath[] = "gaialogin"; 75 const char kSyncGaiaLoginPath[] = "gaialogin";
75 const char kSyncMergeAndSyncPath[] = "mergeandsync"; 76 const char kSyncMergeAndSyncPath[] = "mergeandsync";
76 const char kSyncThrobberPath[] = "throbber.png"; 77 const char kSyncThrobberPath[] = "throbber.png";
77 const char kSyncSetupFlowPath[] = "setup"; 78 const char kSyncSetupFlowPath[] = "setup";
78 const char kSyncSetupDonePath[] = "setupdone"; 79 const char kSyncSetupDonePath[] = "setupdone";
79 80
80 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; 81 const char kNetworkViewInternalsURL[] = "chrome://net-internals/";
81 const char kNetworkViewCacheURL[] = "chrome://net-internals/view-cache"; 82 const char kNetworkViewCacheURL[] = "chrome://net-internals/view-cache";
82 83
84 void RegisterChromeSchemes() {
85 // Don't need "chrome-internal" which was used in old versions of Chrome for
86 // the new tab page.
87 url_util::AddStandardScheme(kChromeUIScheme);
88 url_util::AddStandardScheme(kExtensionScheme);
89 }
90
83 } // namespace chrome 91 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/url_constants.h ('k') | chrome/test/unit/chrome_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698