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

Unified Diff: chrome/browser/history/shortcuts_database.h

Issue 10701043: Make ShortcutsBackend a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/shortcuts_database.h
===================================================================
--- chrome/browser/history/shortcuts_database.h (revision 145147)
+++ chrome/browser/history/shortcuts_database.h (working copy)
@@ -18,6 +18,8 @@
#include "googleurl/src/gurl.h"
#include "sql/connection.h"
+class Profile;
+
namespace history {
// This class manages the shortcut provider table within the SQLite database
@@ -42,7 +44,7 @@
public:
typedef std::map<std::string, ShortcutsBackend::Shortcut> GuidToShortcutMap;
- explicit ShortcutsDatabase(const FilePath& folder_path);
+ explicit ShortcutsDatabase(Profile* profile);
bool Init();

Powered by Google App Engine
This is Rietveld 408576698