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

Side by Side Diff: ios/chrome/browser/experimental_flags.mm

Issue 2511723002: Enable RL sync by default on iOS (Closed)
Patch Set: rebase Created 4 years 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 | « ios/chrome/browser/about_flags.mm ('k') | ios/chrome/browser/reading_list/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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // This file can be empty. Its purpose is to contain the relatively short lived 5 // This file can be empty. Its purpose is to contain the relatively short lived
6 // definitions required for experimental flags. 6 // definitions required for experimental flags.
7 7
8 #include "ios/chrome/browser/experimental_flags.h" 8 #include "ios/chrome/browser/experimental_flags.h"
9 9
10 #include <dispatch/dispatch.h> 10 #include <dispatch/dispatch.h>
11 #import <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 12
13 #include <string> 13 #include <string>
14 14
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/metrics/field_trial.h" 16 #include "base/metrics/field_trial.h"
17 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
18 #include "components/autofill/core/common/autofill_switches.h" 18 #include "components/autofill/core/common/autofill_switches.h"
19 #include "components/reading_list/reading_list_switches.h" 19 #include "components/reading_list/core/reading_list_switches.h"
20 #include "components/variations/variations_associated_data.h" 20 #include "components/variations/variations_associated_data.h"
21 #include "ios/chrome/browser/chrome_switches.h" 21 #include "ios/chrome/browser/chrome_switches.h"
22 #include "ios/web/public/web_view_creation_util.h" 22 #include "ios/web/public/web_view_creation_util.h"
23 23
24 namespace { 24 namespace {
25 NSString* const kEnableAlertOnBackgroundUpload = 25 NSString* const kEnableAlertOnBackgroundUpload =
26 @"EnableAlertsOnBackgroundUpload"; 26 @"EnableAlertsOnBackgroundUpload";
27 NSString* const kEnableViewCopyPasswords = @"EnableViewCopyPasswords"; 27 NSString* const kEnableViewCopyPasswords = @"EnableViewCopyPasswords";
28 NSString* const kHeuristicsForPasswordGeneration = 28 NSString* const kHeuristicsForPasswordGeneration =
29 @"HeuristicsForPasswordGeneration"; 29 @"HeuristicsForPasswordGeneration";
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 return ![[NSUserDefaults standardUserDefaults] 181 return ![[NSUserDefaults standardUserDefaults]
182 boolForKey:kMDMIntegrationDisabled]; 182 boolForKey:kMDMIntegrationDisabled];
183 } 183 }
184 184
185 bool IsPendingIndexNavigationEnabled() { 185 bool IsPendingIndexNavigationEnabled() {
186 return [[NSUserDefaults standardUserDefaults] 186 return [[NSUserDefaults standardUserDefaults]
187 boolForKey:kPendingIndexNavigationEnabled]; 187 boolForKey:kPendingIndexNavigationEnabled];
188 } 188 }
189 189
190 } // namespace experimental_flags 190 } // namespace experimental_flags
OLDNEW
« no previous file with comments | « ios/chrome/browser/about_flags.mm ('k') | ios/chrome/browser/reading_list/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698