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

Unified Diff: ios/chrome/browser/browser_state/test_chrome_browser_state.mm

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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
Index: ios/chrome/browser/browser_state/test_chrome_browser_state.mm
diff --git a/ios/chrome/browser/browser_state/test_chrome_browser_state.mm b/ios/chrome/browser/browser_state/test_chrome_browser_state.mm
index 236bf2b94d11cc279760d1a2ea66c2957b4c2cc2..50d2f5f2a27baa40bcedf9bd57c682ec3108341f 100644
--- a/ios/chrome/browser/browser_state/test_chrome_browser_state.mm
+++ b/ios/chrome/browser/browser_state/test_chrome_browser_state.mm
@@ -37,7 +37,6 @@
#include "ios/chrome/browser/history/history_service_factory.h"
#include "ios/chrome/browser/history/top_sites_factory.h"
#include "ios/chrome/browser/history/web_history_service_factory.h"
-#include "ios/chrome/browser/pref_names.h"
#include "ios/chrome/browser/prefs/browser_prefs.h"
#include "ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h"
#include "ios/chrome/browser/sync/glue/sync_start_util.h"
@@ -64,7 +63,6 @@ scoped_ptr<KeyedService> BuildBookmarkModel(web::BrowserState* context) {
make_scoped_ptr(new BookmarkClientImpl(browser_state))));
bookmark_model->Load(
browser_state->GetPrefs(),
- browser_state->GetPrefs()->GetString(prefs::kAcceptLanguages),
browser_state->GetStatePath(), browser_state->GetIOTaskRunner(),
web::WebThread::GetTaskRunnerForThread(web::WebThread::UI));
return std::move(bookmark_model);
@@ -334,7 +332,6 @@ bool TestChromeBrowserState::CreateHistoryService(bool delete_file) {
ios::HistoryServiceFactory::GetInstance()->SetTestingFactoryAndUse(
this, &BuildHistoryService));
if (!history_service->Init(
- GetPrefs()->GetString(prefs::kAcceptLanguages),
history::HistoryDatabaseParamsForPath(
GetOriginalChromeBrowserState()->GetStatePath()))) {
ios::HistoryServiceFactory::GetInstance()->SetTestingFactory(this, nullptr);
« no previous file with comments | « ios/chrome/browser/bookmarks/bookmark_model_factory.cc ('k') | ios/chrome/browser/history/history_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698