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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge 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/pref_names.cc ('k') | chrome/renderer/BUILD.gn » ('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) 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"
11 #include "chrome/common/features.h" 11 #include "chrome/common/features.h"
12 #include "content/public/common/url_constants.h" 12 #include "content/public/common/url_constants.h"
13 #include "extensions/features/features.h"
13 #include "printing/features/features.h" 14 #include "printing/features/features.h"
14 #include "url/url_util.h" 15 #include "url/url_util.h"
15 16
16 namespace chrome { 17 namespace chrome {
17 18
18 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
19 const char kCrosScheme[] = "cros"; 20 const char kCrosScheme[] = "cros";
20 #endif 21 #endif
21 22
22 #if defined(OS_ANDROID) 23 #if defined(OS_ANDROID)
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) 709 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
709 kChromeUILinuxProxyConfigHost, 710 kChromeUILinuxProxyConfigHost,
710 kChromeUISandboxHost, 711 kChromeUISandboxHost,
711 #endif 712 #endif
712 #if defined(OS_WIN) 713 #if defined(OS_WIN)
713 kChromeUIConflictsHost, 714 kChromeUIConflictsHost,
714 #endif 715 #endif
715 #if !defined(DISABLE_NACL) 716 #if !defined(DISABLE_NACL)
716 kChromeUINaClHost, 717 kChromeUINaClHost,
717 #endif 718 #endif
718 #if defined(ENABLE_EXTENSIONS) 719 #if BUILDFLAG(ENABLE_EXTENSIONS)
719 kChromeUIExtensionsHost, 720 kChromeUIExtensionsHost,
720 #endif 721 #endif
721 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 722 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
722 kChromeUIPrintHost, 723 kChromeUIPrintHost,
723 #endif 724 #endif
724 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) 725 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
725 kChromeUIDevicesHost, 726 kChromeUIDevicesHost,
726 #endif 727 #endif
727 #if defined(ENABLE_WEBRTC) 728 #if defined(ENABLE_WEBRTC)
728 kChromeUIWebRtcLogsHost, 729 kChromeUIWebRtcLogsHost,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 #endif 804 #endif
804 805
805 const char kChooserUsbOverviewURL[] = 806 const char kChooserUsbOverviewURL[] =
806 "https://support.google.com/chrome?p=webusb"; 807 "https://support.google.com/chrome?p=webusb";
807 808
808 #if defined(OS_CHROMEOS) 809 #if defined(OS_CHROMEOS)
809 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; 810 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/";
810 #endif 811 #endif
811 812
812 } // namespace chrome 813 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698