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

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

Issue 2477453002: MD Settings: Sync route paths in JavaScript to URL constants in C++ (Closed)
Patch Set: fix js compile Created 4 years, 1 month 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) 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 "chrome/common/url_constants.h" 5 #include "chrome/common/url_constants.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 #if defined(ENABLE_MEDIA_ROUTER) 341 #if defined(ENABLE_MEDIA_ROUTER)
342 const char kChromeUIMediaRouterHost[] = "media-router"; 342 const char kChromeUIMediaRouterHost[] = "media-router";
343 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) 343 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
344 const char kChromeUICastHost[] = "cast"; 344 const char kChromeUICastHost[] = "cast";
345 #endif 345 #endif
346 #endif 346 #endif
347 347
348 // Option sub pages. 348 // Option sub pages.
349 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be 349 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be
350 // listed by the built-in AutocompleteProvider. 350 // listed by the built-in AutocompleteProvider.
351 const char kAccessibilitySubPage[] = "accessibility";
351 const char kAutofillSubPage[] = "autofill"; 352 const char kAutofillSubPage[] = "autofill";
352 const char kClearBrowserDataSubPage[] = "clearBrowserData"; 353 const char kClearBrowserDataSubPage[] = "clearBrowserData";
353 const char kContentSettingsSubPage[] = "content"; 354 const char kContentSettingsSubPage[] = "content";
354 const char kCreateProfileSubPage[] = "createProfile"; 355 const char kCreateProfileSubPage[] = "createProfile";
355 const char kDeprecatedOptionsContentSettingsExceptionsSubPage[] = 356 const char kDeprecatedOptionsContentSettingsExceptionsSubPage[] =
356 "contentExceptions"; 357 "contentExceptions";
357 const char kExtensionsSubPage[] = "extensions"; 358 const char kExtensionsSubPage[] = "extensions";
358 const char kHandlerSettingsSubPage[] = "handlers"; 359 const char kHandlerSettingsSubPage[] = "handlers";
359 const char kImportDataSubPage[] = "importData"; 360 const char kImportDataSubPage[] = "importData";
360 const char kLanguageOptionsSubPage[] = "languages"; 361 const char kLanguageOptionsSubPage[] = "languages";
361 const char kManageProfileSubPage[] = "manageProfile"; 362 const char kManageProfileSubPage[] = "manageProfile";
362 const char kPasswordManagerSubPage[] = "passwords"; 363 const char kPasswordManagerSubPage[] = "passwords";
363 const char kResetProfileSettingsSubPage[] = "resetProfileSettings"; 364 const char kResetProfileSettingsSubPage[] = "resetProfileSettings";
364 const char kSearchEnginesSubPage[] = "searchEngines"; 365 const char kSearchEnginesSubPage[] = "searchEngines";
365 const char kSignOutSubPage[] = "signOut"; 366 const char kSignOutSubPage[] = "signOut";
366 const char kSyncSetupSubPage[] = "syncSetup"; 367 const char kSyncSetupSubPage[] = "syncSetup";
367 const char kTriggeredResetProfileSettingsSubPage[] = 368 const char kTriggeredResetProfileSettingsSubPage[] =
368 "triggeredResetProfileSettings"; 369 "triggeredResetProfileSettings";
369 #if defined(OS_CHROMEOS) 370 #if defined(OS_CHROMEOS)
370 const char kAccessibilitySubPage[] = "accessibility";
371 const char kBluetoothSubPage[] = "bluetooth"; 371 const char kBluetoothSubPage[] = "bluetooth";
372 const char kDateTimeSubPage[] = "dateTime"; 372 const char kDateTimeSubPage[] = "dateTime";
373 const char kDeprecatedOptionsSearchSubPage[] = "search"; 373 const char kDeprecatedOptionsSearchSubPage[] = "search";
374 const char kInternetOptionsSubPage[] = "internet"; 374 const char kInternetOptionsSubPage[] = "internet";
375 const char kPowerOptionsSubPage[] = "power-overlay"; 375 const char kPowerOptionsSubPage[] = "power-overlay";
376 #endif 376 #endif
377 377
378 // Extension sub pages. 378 // Extension sub pages.
379 const char kExtensionConfigureCommandsSubPage[] = "configureCommands"; 379 const char kExtensionConfigureCommandsSubPage[] = "configureCommands";
380 380
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 #endif 800 #endif
801 801
802 const char kChooserUsbOverviewURL[] = 802 const char kChooserUsbOverviewURL[] =
803 "https://support.google.com/chrome?p=webusb"; 803 "https://support.google.com/chrome?p=webusb";
804 804
805 #if defined(OS_CHROMEOS) 805 #if defined(OS_CHROMEOS)
806 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; 806 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/";
807 #endif 807 #endif
808 808
809 } // namespace chrome 809 } // 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