diff options
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 26a47c6..2e77074 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -204,75 +204,6 @@ class TabRestoreService : public base::RefCountedThreadSafe<TabRestoreService> { 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(); - } - - scoped_refptr<history::HistoryBackend> history_backend_; -}; - class MetricsService { public: MetricsService() { } @@ -876,16 +807,6 @@ class WebAppLauncher { } }; -class AutocompleteResult { - public: - static void set_max_matches(int) { NOTIMPLEMENTED(); } -}; - -class AutocompleteProvider { - public: - static void set_max_matches(int) { NOTIMPLEMENTED(); } -}; - class URLFixerUpper { public: static std::wstring FixupRelativeFile(const std::wstring& base_dir, |