diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-11 00:13:59 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-11 00:13:59 +0000 |
commit | ef5fb3f57b8af12f10ae476c293c8221c77c3952 (patch) | |
tree | 4ade95a6c376e12b69c8fdcee8d850d015d5b1d5 /chrome/common/temp_scaffolding_stubs.h | |
parent | c12519fb92c4e6ae39b20376badc19c825d62d2c (diff) | |
download | chromium_src-ef5fb3f57b8af12f10ae476c293c8221c77c3952.zip chromium_src-ef5fb3f57b8af12f10ae476c293c8221c77c3952.tar.gz chromium_src-ef5fb3f57b8af12f10ae476c293c8221c77c3952.tar.bz2 |
Make browsing_data_remover.cc compile on Mac and Linux.
Review URL: http://codereview.chromium.org/21232
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index eabcc34..7e5df3b 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -46,6 +46,7 @@ class Browser; class BookmarkService; +class CancelableRequestConsumerBase; class CommandLine; class ConstrainedWindow; class DOMUIHost; @@ -165,7 +166,23 @@ class UserDataManager { static UserDataManager* instance_; }; -class SessionService : public base::RefCountedThreadSafe<SessionService> { +class BaseSessionService + : public base::RefCountedThreadSafe<BaseSessionService> { + public: + enum SessionType { + SESSION_RESTORE, + TAB_RESTORE + }; + BaseSessionService() { NOTIMPLEMENTED(); } + BaseSessionService(SessionType type, + Profile* profile, + const std::wstring& path) { + NOTIMPLEMENTED(); + } + void DeleteLastSession() { NOTIMPLEMENTED(); } +}; + +class SessionService : public BaseSessionService { public: explicit SessionService(Profile* profile) { } void WindowClosed(const SessionID &) { NOTIMPLEMENTED(); } @@ -195,11 +212,12 @@ class SessionRestore { static size_t num_tabs_to_load_; }; -class TabRestoreService : public base::RefCountedThreadSafe<TabRestoreService> { +class TabRestoreService : public BaseSessionService { public: explicit TabRestoreService(Profile* profile) { } void BrowserClosing(Browser*) { NOTIMPLEMENTED(); } void BrowserClosed(Browser*) { NOTIMPLEMENTED(); } + void ClearEntries() { NOTIMPLEMENTED(); } void CreateHistoricalTab(NavigationController*) { NOTIMPLEMENTED(); } void RestoreMostRecentEntry(Browser*) { NOTIMPLEMENTED(); } }; @@ -269,6 +287,12 @@ class HistoryService { 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_; }; @@ -781,6 +805,12 @@ class DownloadManager : public base::RefCountedThreadSafe<DownloadManager> { } void DownloadUrl(const GURL& url, const GURL& referrer, WebContents* web_contents) { NOTIMPLEMENTED(); } + int RemoveDownloadsBetween(const base::Time remove_begin, + const base::Time remove_end) { + NOTIMPLEMENTED(); + return 0; + } + void ClearLastDownloadPath() { NOTIMPLEMENTED(); } int in_progress_count() { NOTIMPLEMENTED(); return 0; |