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

Side by Side Diff: ios/chrome/browser/physical_web/physical_web_local_state.mm

Issue 2494193002: Register Physical Web preference in Chrome's local state (Closed)
Patch Set: 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #import "ios/chrome/browser/physical_web/physical_web_local_state.h"
6
7 #include "components/prefs/pref_registry_simple.h"
8 #include "ios/chrome/browser/physical_web/physical_web_constants.h"
9 #include "ios/chrome/browser/pref_names.h"
10
11 @implementation PhysicalWebLocalState
12
13 + (void)registerLocalState:(PrefRegistrySimple*)registry {
14 registry->RegisterIntegerPref(prefs::kIosPhysicalWebEnabled,
15 physical_web::kPhysicalWebOnboarding);
16 }
17
18 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698