summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/testing_pref_store.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-07 17:55:50 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-07 17:55:50 +0000
commitfadc607b6dd990f37f88be954ee8593ba3cc6a38 (patch)
treee256676526459af214e2be3c12d5fd2b3533f504 /chrome/browser/prefs/testing_pref_store.h
parent20532328921c20eeb6c49a8921bca8b044d73791 (diff)
downloadchromium_src-fadc607b6dd990f37f88be954ee8593ba3cc6a38.zip
chromium_src-fadc607b6dd990f37f88be954ee8593ba3cc6a38.tar.gz
chromium_src-fadc607b6dd990f37f88be954ee8593ba3cc6a38.tar.bz2
Clean up warnings found in our testing code.
Time wise, this only speeds things up by a minute, which I think is within the margin of error. I can't get a good size measurement since we aren't building .a files for a lot of this code. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6312137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prefs/testing_pref_store.h')
-rw-r--r--chrome/browser/prefs/testing_pref_store.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/prefs/testing_pref_store.h b/chrome/browser/prefs/testing_pref_store.h
index 555ee69..5502ad2 100644
--- a/chrome/browser/prefs/testing_pref_store.h
+++ b/chrome/browser/prefs/testing_pref_store.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -20,19 +20,19 @@ class DictionaryValue;
class TestingPrefStore : public PersistentPrefStore {
public:
TestingPrefStore();
- virtual ~TestingPrefStore() {}
+ virtual ~TestingPrefStore();
// Overriden from PrefStore.
virtual ReadResult GetValue(const std::string& key, Value** result) const;
virtual void AddObserver(PrefStore::Observer* observer);
virtual void RemoveObserver(PrefStore::Observer* observer);
- virtual bool IsInitializationComplete() const { return init_complete_; }
+ virtual bool IsInitializationComplete() const;
// PersistentPrefStore overrides:
virtual void SetValue(const std::string& key, Value* value);
virtual void SetValueSilently(const std::string& key, Value* value);
virtual void RemoveValue(const std::string& key);
- virtual bool ReadOnly() const { return read_only_; }
+ virtual bool ReadOnly() const;
virtual PersistentPrefStore::PrefReadError ReadPrefs();
virtual bool WritePrefs();
virtual void ScheduleWritePrefs() {}
@@ -55,9 +55,9 @@ class TestingPrefStore : public PersistentPrefStore {
// Getter and Setter methods for setting and getting the state of the
// |TestingPrefStore|.
- virtual void set_read_only(bool read_only) { read_only_ = read_only; }
- virtual void set_prefs_written(bool status) { prefs_written_ = status; }
- virtual bool get_prefs_written() { return prefs_written_; }
+ virtual void set_read_only(bool read_only);
+ virtual void set_prefs_written(bool status);
+ virtual bool get_prefs_written();
private:
// Stores the preference values.