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

Unified Diff: components/offline_pages/core/snapshot_controller_unittest.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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: components/offline_pages/core/snapshot_controller_unittest.cc
diff --git a/components/offline_pages/snapshot_controller_unittest.cc b/components/offline_pages/core/snapshot_controller_unittest.cc
similarity index 96%
rename from components/offline_pages/snapshot_controller_unittest.cc
rename to components/offline_pages/core/snapshot_controller_unittest.cc
index df561bc3f6b74bbbc12d379752eb9d03b2b9a3a9..390a96e952bf8451b7cf515a71e994efd58d67f0 100644
--- a/components/offline_pages/snapshot_controller_unittest.cc
+++ b/components/offline_pages/core/snapshot_controller_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/offline_pages/snapshot_controller.h"
+#include "components/offline_pages/core/snapshot_controller.h"
#include "base/bind.h"
#include "base/run_loop.h"
@@ -14,9 +14,8 @@
namespace offline_pages {
-class SnapshotControllerTest
- : public testing::Test,
- public SnapshotController::Client {
+class SnapshotControllerTest : public testing::Test,
+ public SnapshotController::Client {
public:
SnapshotControllerTest();
~SnapshotControllerTest() override;
@@ -49,11 +48,9 @@ class SnapshotControllerTest
SnapshotControllerTest::SnapshotControllerTest()
: task_runner_(new base::TestMockTimeTaskRunner),
snapshot_started_(true),
- snapshot_count_(0) {
-}
+ snapshot_count_(0) {}
-SnapshotControllerTest::~SnapshotControllerTest() {
-}
+SnapshotControllerTest::~SnapshotControllerTest() {}
void SnapshotControllerTest::SetUp() {
controller_.reset(new SnapshotController(task_runner_, this));
« no previous file with comments | « components/offline_pages/core/snapshot_controller.cc ('k') | components/offline_pages/core/stub_offline_page_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698