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

Side by Side Diff: chrome/browser/prefs/incognito_user_pref_store.cc

Issue 9015012: Get rid of trivial IncognitoUserPrefStore and PerTabUserPrefStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved overlay prefs registration code to prefs_tab_helper Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #include "chrome/browser/prefs/incognito_user_pref_store.h"
6 #include "chrome/common/pref_names.h"
7
8 IncognitoUserPrefStore::IncognitoUserPrefStore(PersistentPrefStore* underlay)
9 : OverlayUserPrefStore(underlay) {
10 // List of keys that cannot be changed in the user prefs file by the incognito
11 // profile. All preferences that store information about the browsing history
12 // or behavior of the user should have this property.
13 RegisterOverlayProperty(prefs::kBrowserWindowPlacement);
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698