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

Side by Side Diff: chrome/common/pref_store.cc

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_store.h ('k') | chrome/common/pref_store_base.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/common/pref_store.h" 5 #include "chrome/common/pref_store.h"
6 #include "base/values.h" 6 #include "base/values.h"
7 7
8 Value* PrefStore::CreateUseDefaultSentinelValue() { 8 Value* PrefStore::CreateUseDefaultSentinelValue() {
9 return Value::CreateNullValue(); 9 return Value::CreateNullValue();
10 } 10 }
11 11
12 bool PrefStore::IsUseDefaultSentinelValue(Value* value) { 12 bool PrefStore::IsUseDefaultSentinelValue(Value* value) {
13 return value->IsType(Value::TYPE_NULL); 13 return value->IsType(Value::TYPE_NULL);
14 } 14 }
15
16 bool PrefStore::IsInitializationComplete() {
17 return true;
18 }
19
20 bool PrefStore::ReadOnly() const {
21 return true;
22 }
23
24 bool PrefStore::WritePrefs() {
25 return true;
26 }
OLDNEW
« no previous file with comments | « chrome/common/pref_store.h ('k') | chrome/common/pref_store_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698