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

Unified Diff: blimp/engine/common/blimp_browser_context_unittest.cc

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 | « blimp/engine/common/blimp_browser_context.cc ('k') | blimp/engine/common/blimp_content_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/common/blimp_browser_context_unittest.cc
diff --git a/blimp/engine/common/blimp_browser_context_unittest.cc b/blimp/engine/common/blimp_browser_context_unittest.cc
deleted file mode 100644
index 222f35fc4ffbd76acbb52ceca364779ece299a79..0000000000000000000000000000000000000000
--- a/blimp/engine/common/blimp_browser_context_unittest.cc
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "blimp/engine/common/blimp_browser_context.h"
-
-#include "base/metrics/user_metrics.h"
-#include "base/threading/thread_task_runner_handle.h"
-#include "components/metrics/metrics_service.h"
-#include "content/public/browser/notification_service.h"
-#include "content/public/test/test_browser_thread_bundle.h"
-#include "net/log/net_log.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace blimp {
-namespace engine {
-
-class BlimpBrowserContextTest : public testing::Test {
- public:
- BlimpBrowserContextTest() {}
-
- protected:
- void SetUp() override {
- // Set up NotificationService for StabilityMetricsHelper to use.
- notification_service_.reset(content::NotificationService::Create());
-
- base::SetRecordActionTaskRunner(base::ThreadTaskRunnerHandle::Get());
-
- // Create BlimpBrowserContext.
- browser_context_.reset(new BlimpBrowserContext(false /* off_the_record */,
- &net_log_));
- }
-
- void TearDown() override {
- // Clears static variable in MetricsService
- metrics::MetricsService::SetExecutionPhase(
- metrics::MetricsService::UNINITIALIZED_PHASE,
- browser_context_->GetPrefService());
- }
-
- private:
- content::TestBrowserThreadBundle thread_bundle_;
- std::unique_ptr<content::NotificationService> notification_service_;
- net::NetLog net_log_;
- std::unique_ptr<BlimpBrowserContext> browser_context_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpBrowserContextTest);
-};
-
-TEST_F(BlimpBrowserContextTest, CtorDtor) {
- // Covers construction and destruction of BlimpBrowserContext and
- // associated metrics setup and teardown.
-}
-
-} // namespace engine
-} // namespace blimp
« no previous file with comments | « blimp/engine/common/blimp_browser_context.cc ('k') | blimp/engine/common/blimp_content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698