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

Side by Side Diff: components/reading_list/features/reading_list_switches.cc

Issue 2859033002: [sync] Add constexpr to EnumSet (Closed)
Patch Set: Move reading list switches and buildflag to /features Created 3 years, 6 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 | « components/reading_list/features/reading_list_switches.h ('k') | components/sync/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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/reading_list/core/reading_list_switches.h" 5 #include "components/reading_list/features/reading_list_switches.h"
6 6
7 #include "base/command_line.h"
7 #include "build/build_config.h" 8 #include "build/build_config.h"
8 #include "base/command_line.h" 9 #include "components/reading_list/features/reading_list_enable_flags.h"
9 #include "components/reading_list/core/reading_list_enable_flags.h"
10 10
11 namespace reading_list { 11 namespace reading_list {
12 namespace switches { 12 namespace switches {
13 bool IsReadingListEnabled() { 13 bool IsReadingListEnabled() {
14 return BUILDFLAG(ENABLE_READING_LIST); 14 return BUILDFLAG(ENABLE_READING_LIST);
15 } 15 }
16 } // namespace switches 16 } // namespace switches
17 } // namespace reading_list 17 } // namespace reading_list
OLDNEW
« no previous file with comments | « components/reading_list/features/reading_list_switches.h ('k') | components/sync/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698