projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
ui
/
bookmarks
/
bookmark_unittest.cc
diff --git
a/src/chrome/browser/ui/bookmarks/bookmark_unittest.cc
b/src/chrome/browser/ui/bookmarks/bookmark_unittest.cc
index
ca6ac84
..
3e40038
100644
(file)
--- a/
src/chrome/browser/ui/bookmarks/bookmark_unittest.cc
+++ b/
src/chrome/browser/ui/bookmarks/bookmark_unittest.cc
@@
-2,11
+2,13
@@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/search_engines/template_url_service.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/common/url_constants.h"
#include "chrome/test/base/browser_with_test_window_test.h"
+#include "components/search_engines/search_terms_data.h"
+#include "components/search_engines/template_url_service.h"
+#include "components/search_engines/template_url_service_client.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
@@
-57,7
+59,10
@@
class BookmarkInstantExtendedTest : public BrowserWithTestWindowTest {
private:
static KeyedService* CreateTemplateURLService(
content::BrowserContext* profile) {
private:
static KeyedService* CreateTemplateURLService(
content::BrowserContext* profile) {
- return new TemplateURLService(static_cast<Profile*>(profile));
+ return new TemplateURLService(
+ static_cast<Profile*>(profile)->GetPrefs(),
+ make_scoped_ptr(new SearchTermsData), NULL,
+ scoped_ptr<TemplateURLServiceClient>(), NULL, NULL, base::Closure());
}
DISALLOW_COPY_AND_ASSIGN(BookmarkInstantExtendedTest);
}
DISALLOW_COPY_AND_ASSIGN(BookmarkInstantExtendedTest);