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

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: more rebase Created 4 years, 1 month 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));

Powered by Google App Engine
This is Rietveld 408576698