summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_service.h
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 12:27:03 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 12:27:03 +0000
commit1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf (patch)
treeb78be07dbada3ac0f6d2435558e4a6aaba198ffc /chrome/common/pref_service.h
parentea15e98a9353494df754a11fb49f0e4b8c0d4789 (diff)
downloadchromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.zip
chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.gz
chromium_src-1eb89e8fbf2d31247f5ceb271d8887a63d4a2bcf.tar.bz2
Large patch set (159 files total) to cleanup the includes.
- Slightly reduce the size of the generated .lib files ~3%. - Reduce the number of implicit and explicit atl and windows includes. hooray! - Help incremental build by reducing the number of unnecessary included files. - Split some template class in two, one base class for the common code and the specialization that inherits from the base class. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@937 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_service.h')
-rw-r--r--chrome/common/pref_service.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/common/pref_service.h b/chrome/common/pref_service.h
index fed3cf2..ab87960 100644
--- a/chrome/common/pref_service.h
+++ b/chrome/common/pref_service.h
@@ -37,14 +37,13 @@
// persistent and transient stores, where any corresponding value in the
// transient store overrides the one in the persistent store.
-#ifndef CHROME_COMMON_PREF_SERVICE_H__
-#define CHROME_COMMON_PREF_SERVICE_H__
+#ifndef CHROME_COMMON_PREF_SERVICE_H_
+#define CHROME_COMMON_PREF_SERVICE_H_
#include <hash_map>
#include <string>
#include "base/basictypes.h"
-#include "base/logging.h"
#include "base/non_thread_safe.h"
#include "base/observer_list.h"
#include "base/scoped_ptr.h"
@@ -96,7 +95,7 @@ class PrefService : public NonThreadSafe {
// A reference to the pref service's persistent prefs.
DictionaryValue* root_pref_;
- DISALLOW_EVIL_CONSTRUCTORS(Preference);
+ DISALLOW_COPY_AND_ASSIGN(Preference);
};
// |pref_filename| is the path to the prefs file we will try to load or save to.
@@ -257,7 +256,7 @@ class PrefService : public NonThreadSafe {
PrefObserverMap;
PrefObserverMap pref_observers_;
- DISALLOW_EVIL_CONSTRUCTORS(PrefService);
+ DISALLOW_COPY_AND_ASSIGN(PrefService);
};
-#endif // CHROME_COMMON_PREF_SERVICE_H__
+#endif // CHROME_COMMON_PREF_SERVICE_H_