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

Unified Diff: components/sessions/base_session_service_test_helper.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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: components/sessions/base_session_service_test_helper.h
diff --git a/components/sessions/base_session_service_test_helper.h b/components/sessions/base_session_service_test_helper.h
deleted file mode 100644
index a12fb0e74b6e741ca2fc8022e841f6a92c1bb2a1..0000000000000000000000000000000000000000
--- a/components/sessions/base_session_service_test_helper.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef COMPONENTS_SESSIONS_BASE_SESSION_SERVICE_TEST_HELPER_H_
-#define COMPONENTS_SESSIONS_BASE_SESSION_SERVICE_TEST_HELPER_H_
-
-#include "base/basictypes.h"
-#include "base/callback.h"
-#include "base/memory/scoped_vector.h"
-#include "base/task/cancelable_task_tracker.h"
-
-namespace sessions {
-class SessionCommand;
-class BaseSessionService;
-
-class BaseSessionServiceTestHelper {
- public:
- explicit BaseSessionServiceTestHelper(
- BaseSessionService* base_session_service_);
- ~BaseSessionServiceTestHelper();
-
- // This posts the task to the SequencedWorkerPool, or run immediately
- // if the SequencedWorkerPool has been shutdown.
- void RunTaskOnBackendThread(const tracked_objects::Location& from_here,
- const base::Closure& task);
-
- // Returns true if any commands got processed yet - saved or queued.
- bool ProcessedAnyCommands();
-
- // Read the last session commands directly from file.
- bool ReadLastSessionCommands(ScopedVector<SessionCommand>* commands);
-
- private:
- BaseSessionService* base_session_service_;
-
- DISALLOW_COPY_AND_ASSIGN(BaseSessionServiceTestHelper);
-};
-
-} // namespace sessions
-
-#endif // COMPONENTS_SESSIONS_BASE_SESSION_SERVICE_TEST_HELPER_H_
« no previous file with comments | « components/sessions/base_session_service_delegate.h ('k') | components/sessions/base_session_service_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698