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

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

Issue 9950040: Get chrome:// dev tool urls hooked up in content_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | 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 // Contains constants for known URLs and portions thereof. 5 // Contains constants for known URLs and portions thereof.
6 6
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_
8 #define CHROME_COMMON_URL_CONSTANTS_H_ 8 #define CHROME_COMMON_URL_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string>
12 #include <vector>
13
11 #include "build/build_config.h" 14 #include "build/build_config.h"
12 #include "content/public/common/url_constants.h" 15 #include "content/public/common/url_constants.h"
13 16
14 namespace chrome { 17 namespace chrome {
15 18
16 // TODO(msw): Resolve chrome_frame dependency on these constants. 19 // TODO(msw): Resolve chrome_frame dependency on these constants.
17 extern const char kAboutPluginsURL[]; 20 extern const char kAboutPluginsURL[];
18 extern const char kAboutVersionURL[]; 21 extern const char kAboutVersionURL[];
19 22
20 // chrome: URLs (including schemes). Should be kept in sync with the 23 // chrome: URLs (including schemes). Should be kept in sync with the
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // The URL to create a new Google account via sync. 341 // The URL to create a new Google account via sync.
339 extern const char kSyncCreateNewAccountURL[]; 342 extern const char kSyncCreateNewAccountURL[];
340 343
341 // "Debug" pages which are dangerous and not for general consumption. 344 // "Debug" pages which are dangerous and not for general consumption.
342 extern const char* const kChromeDebugURLs[]; 345 extern const char* const kChromeDebugURLs[];
343 extern int kNumberOfChromeDebugURLs; 346 extern int kNumberOfChromeDebugURLs;
344 347
345 // Canonical schemes you can use as input to GURL.SchemeIs(). 348 // Canonical schemes you can use as input to GURL.SchemeIs().
346 extern const char kExtensionScheme[]; 349 extern const char kExtensionScheme[];
347 350
348 // Call near the beginning of startup to register Chrome's internal URLs that
349 // should be parsed as "standard" with the googleurl library.
350 void RegisterChromeSchemes();
351
352 #if defined(OS_CHROMEOS) 351 #if defined(OS_CHROMEOS)
353 // "Learn more" URL for the Cloud Print section under Options. 352 // "Learn more" URL for the Cloud Print section under Options.
354 extern const char kCloudPrintLearnMoreURL[]; 353 extern const char kCloudPrintLearnMoreURL[];
355 #endif 354 #endif
356 355
356 // Call near the beginning of startup to get Chrome's internal URLs that
357 // should be parsed as "standard" with the googleurl library and that should
358 // be considered "savable". See ContentClient::AddAdditionalSchemes().
359 void GetAdditionalSchemes(
360 std::vector<std::string>* standard_schemes,
361 std::vector<std::string>* saveable_shemes);
362
357 } // namespace chrome 363 } // namespace chrome
358 364
359 #endif // CHROME_COMMON_URL_CONSTANTS_H_ 365 #endif // CHROME_COMMON_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698