summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/text_database_manager.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 20:50:46 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-18 20:50:46 +0000
commit0a8f88c90840e5f642e6bc64e150229d336eca72 (patch)
tree646c7fd7c7ccd20c8902c9b8058b5f675418c098 /chrome/browser/history/text_database_manager.h
parent420949ff13d309c7bbc56173bca33ee4ffafd1b3 (diff)
downloadchromium_src-0a8f88c90840e5f642e6bc64e150229d336eca72.zip
chromium_src-0a8f88c90840e5f642e6bc64e150229d336eca72.tar.gz
chromium_src-0a8f88c90840e5f642e6bc64e150229d336eca72.tar.bz2
Ports all of the chrome/browser/history code to use FilePath, except
for DownloadDatabase, InMemoryDatabase, and RedirectUiTest. Except for in those files, we now only use std::wstring for text strings. This CL also enables two more unittests on Mac. patch by Rohit Rao. http://codereview.chromium.org/48018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/text_database_manager.h')
-rw-r--r--chrome/browser/history/text_database_manager.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/history/text_database_manager.h b/chrome/browser/history/text_database_manager.h
index e1d5d2e..ee96687 100644
--- a/chrome/browser/history/text_database_manager.h
+++ b/chrome/browser/history/text_database_manager.h
@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H__
-#define CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H__
+#ifndef CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_
+#define CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_
#include <set>
#include <vector>
#include "base/basictypes.h"
+#include "base/file_path.h"
#include "base/task.h"
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/history/text_database.h"
@@ -72,7 +73,7 @@ class TextDatabaseManager {
// The visit database is a pointer owned by the caller for the main database
// (of recent visits). The visit database will be updated to refer to the
// added text database entries.
- explicit TextDatabaseManager(const std::wstring& dir,
+ explicit TextDatabaseManager(const FilePath& dir,
URLDatabase* url_database,
VisitDatabase* visit_database);
~TextDatabaseManager();
@@ -301,9 +302,9 @@ class TextDatabaseManager {
// data from us.
const HistoryPublisher* history_publisher_;
- DISALLOW_EVIL_CONSTRUCTORS(TextDatabaseManager);
+ DISALLOW_COPY_AND_ASSIGN(TextDatabaseManager);
};
} // namespace history
-#endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H__
+#endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_MANAGER_H_