Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 21429: Add more scaffolding to make shared linking work. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.cc
===================================================================
--- chrome/common/temp_scaffolding_stubs.cc (revision 9900)
+++ chrome/common/temp_scaffolding_stubs.cc (working copy)
@@ -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 @@
NOTIMPLEMENTED();
}
+std::wstring AutocompleteProvider::StringForURLDisplay(const GURL& url,
+ bool check_accept_lang) {
+ NOTIMPLEMENTED();
+ return L"";
+}
+
// static
size_t AutocompleteResult::max_matches_;
@@ -61,12 +71,28 @@
return "";
}
+AutocompleteMatch::AutocompleteMatch(AutocompleteProvider* provider,
+ int relevance,
+ bool deletable,
+ Type type) {
+ NOTIMPLEMENTED();
+}
+
//static
std::string AutocompleteMatch::TypeToString(AutocompleteMatch::Type type) {
NOTIMPLEMENTED();
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;
@@ -355,6 +381,8 @@
void SaveHostNamesForNextStartup(PrefService* local_state) { NOTIMPLEMENTED(); }
+void DnsPrefetchGetHtmlInfo(std::string* output) { NOTIMPLEMENTED(); }
+
} // namespace chrome_browser_net
//--------------------------------------------------------------------------
@@ -468,19 +496,44 @@
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() {
NOTIMPLEMENTED();
}
@@ -519,3 +572,20 @@
NOTIMPLEMENTED();
return NULL;
}
+
+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;
+}
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698