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

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

Issue 3774003: Cleanup and style guideline conformance for policy implementation (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: fix windows build and tests Created 10 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
« no previous file with comments | « chrome/browser/prefs/default_pref_store.h ('k') | chrome/browser/prefs/dummy_pref_store.h » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/browser/prefs/default_pref_store.h" 5 #include "chrome/browser/prefs/default_pref_store.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 8
9 DefaultPrefStore::DefaultPrefStore() : prefs_(new DictionaryValue()) { 9 DefaultPrefStore::DefaultPrefStore() : prefs_(new DictionaryValue()) {
10 } 10 }
11 11
12 DefaultPrefStore::~DefaultPrefStore() { 12 DefaultPrefStore::~DefaultPrefStore() {
13 } 13 }
14 14
15 DictionaryValue* DefaultPrefStore::prefs() { 15 DictionaryValue* DefaultPrefStore::prefs() const {
16 return prefs_.get(); 16 return prefs_.get();
17 } 17 }
18 18
19 PrefStore::PrefReadError DefaultPrefStore::ReadPrefs() { 19 PrefStore::PrefReadError DefaultPrefStore::ReadPrefs() {
20 return PrefStore::PREF_READ_ERROR_NONE; 20 return PrefStore::PREF_READ_ERROR_NONE;
21 } 21 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/default_pref_store.h ('k') | chrome/browser/prefs/dummy_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698