summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-11 23:58:31 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-11 23:58:31 +0000
commit075ae739d9f5693eb1bbd203af59eef1bb21606e (patch)
tree48fc2d8128ff99e16fe6b1391cdcfb0ffeca1bf1
parenta27a938d8511abfaf89d6e2d0e4d4242c76dffed (diff)
downloadchromium_src-075ae739d9f5693eb1bbd203af59eef1bb21606e.zip
chromium_src-075ae739d9f5693eb1bbd203af59eef1bb21606e.tar.gz
chromium_src-075ae739d9f5693eb1bbd203af59eef1bb21606e.tar.bz2
Bring history.cc and dependents into the build.
Review URL: http://codereview.chromium.org/20284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9622 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/browser.scons3
-rw-r--r--chrome/browser/tab_contents/tab_contents.h1
-rwxr-xr-xchrome/browser/webdata/web_database.cc2
-rw-r--r--chrome/chrome.xcodeproj/project.pbxproj18
-rw-r--r--chrome/common/temp_scaffolding_stubs.cc22
-rw-r--r--chrome/common/temp_scaffolding_stubs.h76
-rw-r--r--chrome/test/testing_profile.cc6
7 files changed, 43 insertions, 85 deletions
diff --git a/chrome/browser/browser.scons b/chrome/browser/browser.scons
index 00ac75c..5929b4c 100644
--- a/chrome/browser/browser.scons
+++ b/chrome/browser/browser.scons
@@ -672,8 +672,6 @@ if not env.Bit('windows'):
'bookmarks/bookmark_context_menu.cc',
'bookmarks/bookmark_drag_data.cc',
'bookmarks/bookmark_drop_info.cc',
- 'bookmarks/bookmark_model.cc',
- 'bookmarks/bookmark_storage.cc',
'bookmarks/bookmark_utils.cc',
'browser_about_handler.cc',
'browser_accessibility.cc',
@@ -707,7 +705,6 @@ if not env.Bit('windows'):
'gears_integration.cc',
'hang_monitor/hung_plugin_action.cc',
'hang_monitor/hung_window_detector.cc',
- 'history/history.cc',
'history_tab_ui.cc',
'history_view.cc',
'icon_loader.cc',
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index cf6b1ab..06324d7 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -10,7 +10,6 @@
#include "base/gfx/native_widget_types.h"
#include "base/gfx/rect.h"
-#include "chrome/browser/autocomplete/autocomplete_edit.h"
#include "chrome/browser/tab_contents/constrained_window.h"
#include "chrome/browser/tab_contents/infobar_delegate.h"
#include "chrome/browser/tab_contents/navigation_controller.h"
diff --git a/chrome/browser/webdata/web_database.cc b/chrome/browser/webdata/web_database.cc
index 5c33c1a..7fcfa4c 100755
--- a/chrome/browser/webdata/web_database.cc
+++ b/chrome/browser/webdata/web_database.cc
@@ -13,6 +13,7 @@
#include "base/string_util.h"
#include "base/time.h"
#include "base/values.h"
+#include "chrome/browser/history/history_database.h"
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/common/l10n_util.h"
#include "chrome/common/scoped_vector.h"
@@ -29,7 +30,6 @@
// Encryptor is the *wrong* way of doing things; we need to turn it into a
// bottleneck to use the platform methods (e.g. Keychain on the Mac). That's
// going to take a massive change in its API...
-#include "chrome/browser/history/history_database.h"
#include "chrome/browser/password_manager/encryptor.h"
#endif
diff --git a/chrome/chrome.xcodeproj/project.pbxproj b/chrome/chrome.xcodeproj/project.pbxproj
index 8d6737b..59f5e21 100644
--- a/chrome/chrome.xcodeproj/project.pbxproj
+++ b/chrome/chrome.xcodeproj/project.pbxproj
@@ -235,9 +235,12 @@
4DDC64580EAE394200FB5EBE /* libzlib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DDC64550EAE392400FB5EBE /* libzlib.a */; };
534E66C40F311BEC0006B2B2 /* temp_scaffolding_stubs.cc in Sources */ = {isa = PBXBuildFile; fileRef = 534E66C30F311BEC0006B2B2 /* temp_scaffolding_stubs.cc */; };
544FBC49CB83E458B6B7069D /* test_web_contents.cc in Sources */ = {isa = PBXBuildFile; fileRef = 56E1D7DF17D327BFCB0B895D /* test_web_contents.cc */; };
+ 65930533A98EF22451EEA01D /* history_publisher_none.cc in Sources */ = {isa = PBXBuildFile; fileRef = 7849CCC221723C1BC14D6384 /* history_publisher_none.cc */; };
671555F7DF06E224B646E5D2 /* backing_store_posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = B94B5B0CBF4D7FAC48BB1AE2 /* backing_store_posix.cc */; };
6A3646C882BD4CC722624544 /* character_encoding.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8590E9D4839009A6919 /* character_encoding.cc */; };
6D62D71064BA3204EF0A964A /* autofill_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 629BF493DEA096E2DD844F2B /* autofill_manager.cc */; };
+ 7F84A3FF0F6102F46E0E5155 /* history_publisher.cc in Sources */ = {isa = PBXBuildFile; fileRef = 269003C4E493789D82B6B0F9 /* history_publisher.cc */; };
+ 81E4783DE6F497B9BCC5B9F6 /* bookmark_model.cc in Sources */ = {isa = PBXBuildFile; fileRef = 3D00CDB6C665E7ED1A1090D7 /* bookmark_model.cc */; };
8268477E0F2F69C8009F6555 /* profile_manager_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E60E9D4839009A6919 /* profile_manager_unittest.cc */; };
8268477F0F2F69D1009F6555 /* profile_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E40E9D4839009A6919 /* profile_manager.cc */; };
826847800F2F69D1009F6555 /* profile.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E20E9D4839009A6919 /* profile.cc */; };
@@ -275,6 +278,7 @@
884BD6B5D58856CAC05DE5C0 /* descriptor_set_posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = FE95CE48F3AD7531827F63CF /* descriptor_set_posix.cc */; };
8F51B73AAAF1772ECF9BD180 /* url_fetcher.cc in Sources */ = {isa = PBXBuildFile; fileRef = 778D7927798B7E3FAA498D3D /* url_fetcher.cc */; };
94542322A5E5A8F4FDDAB7F0 /* render_view_host_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = A76E42AD0F28EDB5009A7E88 /* render_view_host_manager.cc */; };
+ A0BC9272AD709E86D492DAEC /* bookmark_storage.cc in Sources */ = {isa = PBXBuildFile; fileRef = D941DBEFD8B8B537DE8A4DAE /* bookmark_storage.cc */; };
A0EB956531B9DB1E40DAE980 /* user_script_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 37521A11B07C479E93A39D52 /* user_script_unittest.cc */; };
A54612DC0EE9958600A8EE5D /* extensions_service_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = A54612DB0EE9958600A8EE5D /* extensions_service_unittest.cc */; };
A54612E20EE995F600A8EE5D /* extensions_service.cc in Sources */ = {isa = PBXBuildFile; fileRef = A54612D90EE9957000A8EE5D /* extensions_service.cc */; };
@@ -335,6 +339,7 @@
BAC2B7A80F43595A0063A33E /* resource_dispatcher_host_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = BAC2B7A70F43594A0063A33E /* resource_dispatcher_host_unittest.cc */; };
BAC2B8AD0F436C7F0063A33E /* cross_site_resource_handler.cc in Sources */ = {isa = PBXBuildFile; fileRef = A7C613DC0F30D886008CEE5D /* cross_site_resource_handler.cc */; };
BADB8B710F3A35AC00989B26 /* resource_dispatcher_host.cc in Sources */ = {isa = PBXBuildFile; fileRef = BADB8B6D0F3A356000989B26 /* resource_dispatcher_host.cc */; };
+ C8F5EB819EA38CE9D50AF5B5 /* history.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF9EC0E9D48F7009A6919 /* history.cc */; };
CA81330E0F423C4D0096C1DC /* query_parser_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BFA020E9D48F7009A6919 /* query_parser_unittest.cc */; };
CA8133120F423C710096C1DC /* url_database_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BFA150E9D48F7009A6919 /* url_database_unittest.cc */; };
CA81331D0F423DB40096C1DC /* pref_member_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BFBE70E9D4C9F009A6919 /* pref_member_unittest.cc */; };
@@ -1767,6 +1772,7 @@
0082A7510F16987A000AA0EF /* user_script_master.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = user_script_master.cc; sourceTree = "<group>"; };
0082A7520F16987A000AA0EF /* user_script_master.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = user_script_master.h; sourceTree = "<group>"; };
0B7CC9C105E90E0665852528 /* url_fetcher_protect.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = url_fetcher_protect.cc; sourceTree = "<group>"; };
+ 269003C4E493789D82B6B0F9 /* history_publisher.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = history_publisher.cc; sourceTree = "<group>"; };
26D97CE692D919FEB1521E43 /* ssl_error_info.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ssl_error_info.cc; path = ssl/ssl_error_info.cc; sourceTree = "<group>"; };
28AA584AB2ECFB33C7C7FD8A /* template_url_parser.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = template_url_parser.cc; sourceTree = "<group>"; };
331B93A90F3BF2B9008B1C46 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
@@ -1776,6 +1782,7 @@
3380A9BF0F2FC61E004EF74F /* render_process_unittest.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = render_process_unittest.cc; sourceTree = "<group>"; };
37521A11B07C479E93A39D52 /* user_script_unittest.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = user_script_unittest.cc; path = common/extensions/user_script_unittest.cc; sourceTree = SOURCE_ROOT; };
3CCF8AA8A56FF8FE59F0C299 /* template_url.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = template_url.cc; sourceTree = "<group>"; };
+ 3D00CDB6C665E7ED1A1090D7 /* bookmark_model.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = bookmark_model.cc; path = browser/bookmarks/bookmark_model.cc; sourceTree = SOURCE_ROOT; };
433B6EFB7A1D931A13C9556F /* url_fetcher_protect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = url_fetcher_protect.h; sourceTree = "<group>"; };
4D1F59EA0F2A6B590040C1E3 /* image_diff */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = image_diff; sourceTree = BUILT_PRODUCTS_DIR; };
4D1F59FD0F2A6BBB0040C1E3 /* image_diff.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = image_diff.cc; sourceTree = "<group>"; };
@@ -2339,6 +2346,7 @@
6447F24FADC63E58A44DB762 /* url_pattern.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = url_pattern.cc; path = common/extensions/url_pattern.cc; sourceTree = SOURCE_ROOT; };
699499C4FBA07FB2D7B298A2 /* user_script.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = user_script.cc; path = common/extensions/user_script.cc; sourceTree = SOURCE_ROOT; };
778D7927798B7E3FAA498D3D /* url_fetcher.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = url_fetcher.cc; sourceTree = "<group>"; };
+ 7849CCC221723C1BC14D6384 /* history_publisher_none.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = history_publisher_none.cc; sourceTree = "<group>"; };
8104B4AFD95DCA06B2F37551 /* chrome_paths_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chrome_paths_internal.h; sourceTree = "<group>"; };
82684C5F0F2FAE68009F6555 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
82684CCF0F2FAEC2009F6555 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
@@ -2516,6 +2524,7 @@
BADB8BD20F3A4E4900989B26 /* resource_dispatcher_host.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = resource_dispatcher_host.h; path = renderer_host/resource_dispatcher_host.h; sourceTree = "<group>"; };
C18F2A0A6FB6BEF75406511D /* chrome_paths_mac.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = chrome_paths_mac.cc; sourceTree = "<group>"; };
C8D26D9EC81E03E91E270463 /* session_service.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = session_service.cc; path = browser/sessions/session_service.cc; sourceTree = SOURCE_ROOT; };
+ D941DBEFD8B8B537DE8A4DAE /* bookmark_storage.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = bookmark_storage.cc; path = browser/bookmarks/bookmark_storage.cc; sourceTree = SOURCE_ROOT; };
E40CC5E10F2E348900708647 /* history_contents_provider.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = history_contents_provider.cc; path = autocomplete/history_contents_provider.cc; sourceTree = "<group>"; };
E40CC5E20F2E348900708647 /* history_contents_provider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = history_contents_provider.h; path = autocomplete/history_contents_provider.h; sourceTree = "<group>"; };
E40CC5E40F2E349000708647 /* history_contents_provider_unittest.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = history_contents_provider_unittest.cc; path = autocomplete/history_contents_provider_unittest.cc; sourceTree = "<group>"; };
@@ -3034,6 +3043,8 @@
37521A11B07C479E93A39D52 /* user_script_unittest.cc */,
B5EEB5E00F42044300CD3A28 /* System.framework */,
C8D26D9EC81E03E91E270463 /* session_service.cc */,
+ 3D00CDB6C665E7ED1A1090D7 /* bookmark_model.cc */,
+ D941DBEFD8B8B537DE8A4DAE /* bookmark_storage.cc */,
);
sourceTree = "<group>";
};
@@ -3336,6 +3347,8 @@
4D7BF9F20E9D48F7009A6919 /* history_database.h */,
4D7BF9F30E9D48F7009A6919 /* history_marshaling.h */,
4D7BF9F40E9D48F7009A6919 /* history_notifications.h */,
+ 269003C4E493789D82B6B0F9 /* history_publisher.cc */,
+ 7849CCC221723C1BC14D6384 /* history_publisher_none.cc */,
4D7BF9F50E9D48F7009A6919 /* history_querying_unittest.cc */,
4D7BF9F60E9D48F7009A6919 /* history_types.cc */,
4D7BF9F70E9D48F7009A6919 /* history_types.h */,
@@ -5227,6 +5240,8 @@
E45075B20F1505C0003BE099 /* bookmark_codec.cc in Sources */,
E40CC5F20F2E34EE00708647 /* bookmark_folder_tree_model.cc in Sources */,
E45075B40F1505C9003BE099 /* bookmark_html_writer.cc in Sources */,
+ 81E4783DE6F497B9BCC5B9F6 /* bookmark_model.cc in Sources */,
+ A0BC9272AD709E86D492DAEC /* bookmark_storage.cc in Sources */,
E40CC5F70F2E351A00708647 /* bookmark_table_model.cc in Sources */,
E46C4C2E0F212CAF00B393B8 /* browser.cc in Sources */,
B61C4C1F0F3284A700489E0F /* browser_init.cc in Sources */,
@@ -5269,10 +5284,13 @@
E45075C60F15070D003BE099 /* firefox_profile_lock.cc in Sources */,
4D7BF9990E9D486B009A6919 /* google_url_tracker.cc in Sources */,
4D7BF99E0E9D486F009A6919 /* google_util.cc in Sources */,
+ C8F5EB819EA38CE9D50AF5B5 /* history.cc in Sources */,
E4F3244A0EE5CF3C002533CE /* history_backend.cc in Sources */,
E40CC5E30F2E348900708647 /* history_contents_provider.cc in Sources */,
E4F3244D0EE5CF4A002533CE /* history_database.cc in Sources */,
E45075BC0F1506B5003BE099 /* history_model.cc in Sources */,
+ 7F84A3FF0F6102F46E0E5155 /* history_publisher.cc in Sources */,
+ 65930533A98EF22451EEA01D /* history_publisher_none.cc in Sources */,
4D7BFA1F0E9D4901009A6919 /* history_types.cc in Sources */,
4D7BFA240E9D4905009A6919 /* in_memory_database.cc in Sources */,
4D7BFA260E9D4908009A6919 /* in_memory_history_backend.cc in Sources */,
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index 7497c8b..8d6eb8a 100644
--- a/chrome/common/temp_scaffolding_stubs.cc
+++ b/chrome/common/temp_scaffolding_stubs.cc
@@ -13,6 +13,7 @@
#include "base/task.h"
#include "build/build_config.h"
#include "chrome/browser/autocomplete/autocomplete.h"
+#include "chrome/browser/autocomplete/history_url_provider.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/cache_manager_host.h"
@@ -428,3 +429,24 @@ void DebuggerShell::ProcessCommand(const std::wstring& data) {
NOTIMPLEMENTED();
}
#endif // !CHROME_DEBUGGER_DISABLED
+
+void HistoryURLProvider::ExecuteWithDB(history::HistoryBackend*,
+ history::URLDatabase*,
+ HistoryURLProviderParams*) {
+ NOTIMPLEMENTED();
+}
+
+namespace bookmark_utils {
+
+bool MoreRecentlyAdded(BookmarkNode* n1, BookmarkNode* n2) {
+ NOTIMPLEMENTED();
+ return false;
+}
+
+std::vector<BookmarkNode*> GetMostRecentlyModifiedGroups(BookmarkModel* model,
+ size_t max_count) {
+ NOTIMPLEMENTED();
+ return std::vector<BookmarkNode*>();
+}
+
+}
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index 02b10db..b9dde8d 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -25,6 +25,7 @@
#include "chrome/browser/cancelable_request.h"
#include "chrome/browser/download/save_types.h"
#include "chrome/browser/history/download_types.h"
+#include "chrome/browser/history/history.h"
#include "chrome/browser/renderer_host/resource_handler.h"
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
@@ -282,81 +283,6 @@ class TabRestoreService : public BaseSessionService {
void RestoreMostRecentEntry(Browser*) { NOTIMPLEMENTED(); }
};
-namespace history {
-
-class ExpireHistoryBackend {
- public:
- BookmarkService* bookmark_service_;
-};
-
-class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend> {
- public:
- BookmarkService* bookmark_service_;
- ExpireHistoryBackend expirer_;
-};
-
-class HistoryDatabase {
- public:
- static std::string GURLToDatabaseURL(const GURL& url) {
- NOTIMPLEMENTED();
- return "";
- }
-};
-
-}
-
-class HistoryService {
- public:
- class URLEnumerator {
- public:
- virtual ~URLEnumerator() {}
- virtual void OnURL(const GURL& url) = 0;
- virtual void OnComplete(bool success) = 0;
- };
- class Handle {
- public:
- };
- HistoryService() {}
- HistoryService(Profile* profile) {}
- bool Init(const FilePath& history_dir, BookmarkService* bookmark_service) {
- NOTIMPLEMENTED();
- return false;
- }
- void SetOnBackendDestroyTask(Task*) { NOTIMPLEMENTED(); }
- void AddPage(GURL const&, void const*, int, GURL const&,
- int, std::vector<GURL> const&) { NOTIMPLEMENTED(); }
- void AddPage(const GURL& url) { NOTIMPLEMENTED(); }
- void SetPageContents(const GURL& url, const std::wstring& contents) {
- NOTIMPLEMENTED();
- }
- void IterateURLs(URLEnumerator* iterator) { NOTIMPLEMENTED(); }
- void DeleteAllSearchTermsForKeyword(long long) { NOTIMPLEMENTED(); }
- void SetKeywordSearchTermsForURL(const GURL& url,
- long long keyword_id,
- const std::wstring& term) {
- NOTIMPLEMENTED();
- }
- void NotifyRenderProcessHostDestruction(int) { NOTIMPLEMENTED(); };
- void Cleanup() { NOTIMPLEMENTED(); }
- void AddRef() { NOTIMPLEMENTED(); }
- void Release() { NOTIMPLEMENTED(); }
- void SetFavIconOutOfDateForPage(const GURL&) { NOTIMPLEMENTED(); }
- void SetPageThumbnail(const GURL&, const SkBitmap&, const ThumbnailScore&) {
- NOTIMPLEMENTED();
- }
- void SetPageTitle(const GURL&, const std::wstring&) {
- NOTIMPLEMENTED();
- }
- typedef Callback0::Type ExpireHistoryCallback;
- void ExpireHistoryBetween(base::Time begin_time, base::Time end_time,
- CancelableRequestConsumerBase* consumer,
- ExpireHistoryCallback* callback) {
- NOTIMPLEMENTED();
- }
-
- scoped_refptr<history::HistoryBackend> history_backend_;
-};
-
class MetricsService {
public:
MetricsService() { }
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc
index 7514ba1..ba3f77c 100644
--- a/chrome/test/testing_profile.cc
+++ b/chrome/test/testing_profile.cc
@@ -6,6 +6,7 @@
#include "base/string_util.h"
#include "chrome/common/chrome_constants.h"
+#include "chrome/browser/history/history_backend.h"
#if defined(OS_POSIX)
// TODO(port): get rid of this include. It's used just to provide declarations
@@ -13,11 +14,6 @@
#include "chrome/common/temp_scaffolding_stubs.h"
#endif
-// TODO(port): Get rid of this section and finish porting.
-#if defined(OS_WIN)
-#include "chrome/browser/history/history_backend.h"
-#endif
-
using base::Time;
namespace {