diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 00:08:05 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-18 00:08:05 +0000 |
commit | 2996fcdd802f1fbe7531d8e67a7cd3daa805396e (patch) | |
tree | 1cb2adabe7eebb67c8fa1ae626c0870e5f287160 /chrome | |
parent | d35a2e432b7c21bbe667cebb53b636598eca13a9 (diff) | |
download | chromium_src-2996fcdd802f1fbe7531d8e67a7cd3daa805396e.zip chromium_src-2996fcdd802f1fbe7531d8e67a7cd3daa805396e.tar.gz chromium_src-2996fcdd802f1fbe7531d8e67a7cd3daa805396e.tar.bz2 |
Add more scaffolding to make shared linking work.
Review URL: http://codereview.chromium.org/21429
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9921 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cc | 65 | ||||
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 3 |
2 files changed, 63 insertions, 5 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc index e356d04..bb98432 100644 --- a/chrome/common/temp_scaffolding_stubs.cc +++ b/chrome/common/temp_scaffolding_stubs.cc @@ -4,6 +4,10 @@ #include "temp_scaffolding_stubs.h" +#include "build/build_config.h" + +#include <vector> + #include "base/file_util.h" #include "base/logging.h" #include "base/thread.h" @@ -11,9 +15,9 @@ #include "base/string_piece.h" #include "base/singleton.h" #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/bookmarks/bookmark_utils.h" #include "chrome/browser/browser.h" #include "chrome/browser/browser_shutdown.h" #include "chrome/browser/cache_manager_host.h" @@ -52,6 +56,12 @@ AutocompleteProvider::~AutocompleteProvider() { NOTIMPLEMENTED(); } +std::wstring AutocompleteProvider::StringForURLDisplay(const GURL& url, + bool check_accept_lang) { + NOTIMPLEMENTED(); + return L""; +} + // static size_t AutocompleteResult::max_matches_; @@ -67,6 +77,15 @@ std::string AutocompleteMatch::TypeToString(AutocompleteMatch::Type type) { return ""; } +void AutocompleteMatch::ClassifyLocationInString( + size_t match_location, + size_t match_length, + size_t overall_length, + int style, + ACMatchClassifications* classification) { + NOTIMPLEMENTED(); +} + //-------------------------------------------------------------------------- UserDataManager* UserDataManager::instance_ = NULL; @@ -457,17 +476,42 @@ void HistoryURLProvider::ExecuteWithDB(history::HistoryBackend*, namespace bookmark_utils { -bool MoreRecentlyAdded(BookmarkNode* n1, BookmarkNode* n2) { +bool DoesBookmarkContainText(BookmarkNode* node, const std::wstring& text) { NOTIMPLEMENTED(); return false; } +void GetMostRecentlyAddedEntries(BookmarkModel* model, + size_t count, + std::vector<BookmarkNode*>* nodes) { + NOTIMPLEMENTED(); +} + std::vector<BookmarkNode*> GetMostRecentlyModifiedGroups(BookmarkModel* model, size_t max_count) { NOTIMPLEMENTED(); return std::vector<BookmarkNode*>(); } +void GetBookmarksContainingText(BookmarkModel* model, + const std::wstring& text, + size_t max_count, + std::vector<BookmarkNode*>* nodes) { + NOTIMPLEMENTED(); +} + +void GetBookmarksMatchingText(BookmarkModel* model, + const std::wstring& text, + size_t max_count, + std::vector<TitleMatch>* matches) { + NOTIMPLEMENTED(); +} + +bool MoreRecentlyAdded(BookmarkNode* n1, BookmarkNode* n2) { + NOTIMPLEMENTED(); + return false; +} + } ScopableCPRequest::~ScopableCPRequest() { @@ -513,3 +557,20 @@ void CPHandleCommand(int command, CPCommandInterface* data, CPBrowsingContext context) { NOTIMPLEMENTED(); } + +bool CanImportURL(const GURL& url) { + NOTIMPLEMENTED(); + return false; +} + +bool DOMUIContentsCanHandleURL(GURL* url, + TabContentsType* result_type) { + NOTIMPLEMENTED(); + return false; +} + +bool NewTabUIHandleURL(GURL* url, + TabContentsType* result_type) { + NOTIMPLEMENTED(); + return false; +} diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index d76a1f2..394e81d 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -19,8 +19,6 @@ #include "base/ref_counted.h" #include "base/gfx/native_widget_types.h" #include "base/gfx/rect.h" -#include "chrome/browser/bookmarks/bookmark_model.h" -#include "chrome/browser/bookmarks/bookmark_service.h" #include "chrome/browser/browser_process.h" #include "chrome/browser/cache_manager_host.h" #include "chrome/browser/cancelable_request.h" @@ -53,7 +51,6 @@ #include "webkit/glue/window_open_disposition.h" class Browser; -class BookmarkService; class CommandLine; class ConstrainedWindow; class CPCommandInterface; |