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

Unified Diff: chrome/test/base/chrome_unit_test_suite.cc

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 years, 6 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/test/BUILD.gn ('k') | components/components_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/chrome_unit_test_suite.cc
diff --git a/chrome/test/base/chrome_unit_test_suite.cc b/chrome/test/base/chrome_unit_test_suite.cc
index c63199ce40d4e19b8947be78f34ee4f271e412eb..3756cb0d3b549d627aaa9ed3ab294e6986b299e5 100644
--- a/chrome/test/base/chrome_unit_test_suite.cc
+++ b/chrome/test/base/chrome_unit_test_suite.cc
@@ -17,8 +17,6 @@
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/utility/chrome_content_utility_client.h"
#include "components/component_updater/component_updater_paths.h"
-#include "components/translate/content/browser/browser_cld_data_provider_factory.h"
-#include "components/translate/content/common/cld_data_source.h"
#include "components/update_client/update_query_params.h"
#include "content/public/common/content_paths.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -128,10 +126,6 @@ void ChromeUnitTestSuite::InitializeProviders() {
chrome::RegisterPathProvider();
content::RegisterPathProvider();
ui::RegisterPathProvider();
- translate::BrowserCldDataProviderFactory::SetDefault(
- new translate::BrowserCldDataProviderFactory());
- translate::CldDataSource::SetDefault(
- translate::CldDataSource::GetStaticDataSource());
component_updater::RegisterPathProvider(chrome::DIR_COMPONENTS,
chrome::DIR_USER_DATA);
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698