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

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

Issue 2825513002: Only show the genius app in Google-branded builds (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 "{8A69D345-D564-463c-AFF1-A69D9E530F96}&error="; 418 "{8A69D345-D564-463c-AFF1-A69D9E530F96}&error=";
419 419
420 const char kSmartLockHelpPage[] = 420 const char kSmartLockHelpPage[] =
421 "https://support.google.com/accounts/answer/6197437"; 421 "https://support.google.com/accounts/answer/6197437";
422 422
423 const char kExtensionControlledSettingLearnMoreURL[] = 423 const char kExtensionControlledSettingLearnMoreURL[] =
424 "https://support.google.com/chrome/?p=ui_settings_api_extension"; 424 "https://support.google.com/chrome/?p=ui_settings_api_extension";
425 425
426 const char kChromeHelpViaKeyboardURL[] = 426 const char kChromeHelpViaKeyboardURL[] =
427 #if defined(OS_CHROMEOS) 427 #if defined(OS_CHROMEOS)
428 #if defined(OFFICIAL_BUILD) 428 #if defined(GOOGLE_CHROME_BUILD)
429 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; 429 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html";
430 #else 430 #else
431 "https://support.google.com/chromebook/?p=help&ctx=keyboard"; 431 "https://support.google.com/chromebook/?p=help&ctx=keyboard";
432 #endif // defined(OFFICIAL_BUILD 432 #endif // defined(GOOGLE_CHROME_BUILD
433 #else 433 #else
434 "https://support.google.com/chrome/?p=help&ctx=keyboard"; 434 "https://support.google.com/chrome/?p=help&ctx=keyboard";
435 #endif // defined(OS_CHROMEOS) 435 #endif // defined(OS_CHROMEOS)
436 436
437 const char kChromeHelpViaMenuURL[] = 437 const char kChromeHelpViaMenuURL[] =
438 #if defined(OS_CHROMEOS) 438 #if defined(OS_CHROMEOS)
439 #if defined(OFFICIAL_BUILD) 439 #if defined(GOOGLE_CHROME_BUILD)
440 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; 440 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html";
441 #else 441 #else
442 "https://support.google.com/chromebook/?p=help&ctx=menu"; 442 "https://support.google.com/chromebook/?p=help&ctx=menu";
443 #endif // defined(OFFICIAL_BUILD 443 #endif // defined(GOOGLE_CHROME_BUILD
444 #else 444 #else
445 "https://support.google.com/chrome/?p=help&ctx=menu"; 445 "https://support.google.com/chrome/?p=help&ctx=menu";
446 #endif // defined(OS_CHROMEOS) 446 #endif // defined(OS_CHROMEOS)
447 447
448 const char kChromeHelpViaWebUIURL[] = 448 const char kChromeHelpViaWebUIURL[] =
449 #if defined(OS_CHROMEOS) 449 #if defined(OS_CHROMEOS)
450 #if defined(OFFICIAL_BUILD) 450 #if defined(GOOGLE_CHROME_BUILD)
451 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html"; 451 "chrome-extension://honijodknafkokifofgiaalefdiedpko/main.html";
452 #else 452 #else
453 "https://support.google.com/chromebook/?p=help&ctx=settings"; 453 "https://support.google.com/chromebook/?p=help&ctx=settings";
454 #endif // defined(OFFICIAL_BUILD 454 #endif // defined(GOOGLE_CHROME_BUILD
455 #else 455 #else
456 "https://support.google.com/chrome/?p=help&ctx=settings"; 456 "https://support.google.com/chrome/?p=help&ctx=settings";
457 #endif // defined(OS_CHROMEOS) 457 #endif // defined(OS_CHROMEOS)
458 458
459 #if defined(OS_CHROMEOS) 459 #if defined(OS_CHROMEOS)
460 const char kChromeAccessibilityHelpURL[] = 460 const char kChromeAccessibilityHelpURL[] =
461 "https://support.google.com/chromebook/topic/6323347"; 461 "https://support.google.com/chromebook/topic/6323347";
462 const char kChromeAccessibilitySettingsURL[] = 462 const char kChromeAccessibilitySettingsURL[] =
463 "/chromevox/background/options.html"; 463 "/chromevox/background/options.html";
464 const char kChromePaletteHelpURL[] = 464 const char kChromePaletteHelpURL[] =
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 #endif 834 #endif
835 835
836 const char kChooserUsbOverviewURL[] = 836 const char kChooserUsbOverviewURL[] =
837 "https://support.google.com/chrome?p=webusb"; 837 "https://support.google.com/chrome?p=webusb";
838 838
839 #if defined(OS_CHROMEOS) 839 #if defined(OS_CHROMEOS)
840 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; 840 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/";
841 #endif 841 #endif
842 842
843 } // namespace chrome 843 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698