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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view_browsertest.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
Index: chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc b/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc
index 9cc32edf7eeaefe352e6de5d47209c4eaf859ebd..3bb8443077aedf33fcad110dd694399c09fd46ec 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc
+++ b/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc
@@ -10,8 +10,6 @@
#include "base/macros.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/translate/chrome_translate_client.h"
-#include "chrome/browser/translate/cld_data_harness.h"
-#include "chrome/browser/translate/cld_data_harness_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_tabstrip.h"
@@ -24,19 +22,13 @@
class TranslateBubbleViewBrowserTest : public InProcessBrowserTest {
public:
- TranslateBubbleViewBrowserTest():
- cld_data_harness(
- test::CldDataHarnessFactory::Get()->CreateCldDataHarness()) {}
+ TranslateBubbleViewBrowserTest() {}
~TranslateBubbleViewBrowserTest() override {}
void SetUpOnMainThread() override {
- // We can't Init() until PathService has been initialized. This happens
- // very late in the test fixture setup process.
- cld_data_harness->Init();
InProcessBrowserTest::SetUpOnMainThread();
}
private:
- std::unique_ptr<test::CldDataHarness> cld_data_harness;
DISALLOW_COPY_AND_ASSIGN(TranslateBubbleViewBrowserTest);
};
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/webui/translate_internals/translate_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698