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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Test updates 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
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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) 708 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
708 kChromeUILinuxProxyConfigHost, 709 kChromeUILinuxProxyConfigHost,
709 kChromeUISandboxHost, 710 kChromeUISandboxHost,
710 #endif 711 #endif
711 #if defined(OS_WIN) 712 #if defined(OS_WIN)
712 kChromeUIConflictsHost, 713 kChromeUIConflictsHost,
713 #endif 714 #endif
714 #if !defined(DISABLE_NACL) 715 #if !defined(DISABLE_NACL)
715 kChromeUINaClHost, 716 kChromeUINaClHost,
716 #endif 717 #endif
717 #if defined(ENABLE_EXTENSIONS) 718 #if BUILDFLAG(ENABLE_EXTENSIONS)
718 kChromeUIExtensionsHost, 719 kChromeUIExtensionsHost,
719 #endif 720 #endif
720 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 721 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
721 kChromeUIPrintHost, 722 kChromeUIPrintHost,
722 #endif 723 #endif
723 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) 724 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
724 kChromeUIDevicesHost, 725 kChromeUIDevicesHost,
725 #endif 726 #endif
726 #if defined(ENABLE_WEBRTC) 727 #if defined(ENABLE_WEBRTC)
727 kChromeUIWebRtcLogsHost, 728 kChromeUIWebRtcLogsHost,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 #endif 803 #endif
803 804
804 const char kChooserUsbOverviewURL[] = 805 const char kChooserUsbOverviewURL[] =
805 "https://support.google.com/chrome?p=webusb"; 806 "https://support.google.com/chrome?p=webusb";
806 807
807 #if defined(OS_CHROMEOS) 808 #if defined(OS_CHROMEOS)
808 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/"; 809 const char kEolNotificationURL[] = "https://www.google.com/chromebook/older/";
809 #endif 810 #endif
810 811
811 } // namespace chrome 812 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/renderer/BUILD.gn » ('j') | tools/grit/grit_rule.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698