Commit 2fb1380f authored by tfarina@chromium.org's avatar tfarina@chromium.org

bookmarks: Forward declare DefaultSingletonTraits in bookmark_model_factory.h

R=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10836050

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149847 0039d316-1c4b-4281-b951-d872f2087c98
parent 48a7a425
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "chrome/browser/bookmarks/bookmark_model_factory.h" #include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "base/memory/singleton.h"
#include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/history/history_service_factory.h" #include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/prefs/pref_service.h"
......
...@@ -5,9 +5,12 @@ ...@@ -5,9 +5,12 @@
#ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_ #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_
#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_ #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_
#include "base/memory/singleton.h" #include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/browser/profiles/profile_keyed_service_factory.h" #include "chrome/browser/profiles/profile_keyed_service_factory.h"
template <typename T> struct DefaultSingletonTraits;
class Profile; class Profile;
class BookmarkModel; class BookmarkModel;
...@@ -33,6 +36,8 @@ class BookmarkModelFactory : public ProfileKeyedServiceFactory { ...@@ -33,6 +36,8 @@ class BookmarkModelFactory : public ProfileKeyedServiceFactory {
virtual void RegisterUserPrefs(PrefService* user_prefs) OVERRIDE; virtual void RegisterUserPrefs(PrefService* user_prefs) OVERRIDE;
virtual bool ServiceRedirectedInIncognito() OVERRIDE; virtual bool ServiceRedirectedInIncognito() OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() OVERRIDE; virtual bool ServiceIsNULLWhileTesting() OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(BookmarkModelFactory);
}; };
#endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_ #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_FACTORY_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment