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

Unified Diff: components/proximity_auth/cryptauth/mock_sync_scheduler.h

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Fixed proto #includes. 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/proximity_auth/cryptauth/mock_sync_scheduler.h
diff --git a/components/proximity_auth/cryptauth/mock_sync_scheduler.h b/components/proximity_auth/cryptauth/mock_sync_scheduler.h
deleted file mode 100644
index 160c9a7c6f7f67e625383c7f80ea9b67619b8c91..0000000000000000000000000000000000000000
--- a/components/proximity_auth/cryptauth/mock_sync_scheduler.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 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_PROXIMITY_AUTH_CRYPTAUTH_MOCK_SYNC_SCHEDULER_H
-#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_MOCK_SYNC_SCHEDULER_H
-
-#include "base/macros.h"
-#include "components/proximity_auth/cryptauth/sync_scheduler.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace proximity_auth {
-
-// Mock implementation of SyncScheduler.
-class MockSyncScheduler : public SyncScheduler {
- public:
- MockSyncScheduler();
- ~MockSyncScheduler() override;
-
- // SyncScheduler:
- MOCK_METHOD2(Start,
- void(const base::TimeDelta& elapsed_time_since_last_sync,
- Strategy strategy));
- MOCK_METHOD0(ForceSync, void(void));
- MOCK_CONST_METHOD0(GetTimeToNextSync, base::TimeDelta(void));
- MOCK_CONST_METHOD0(GetStrategy, Strategy(void));
- MOCK_CONST_METHOD0(GetSyncState, SyncState(void));
- MOCK_METHOD1(OnSyncCompleted, void(bool success));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockSyncScheduler);
-};
-
-} // namespace proximity_auth
-
-#endif // COMPONENTS_PROXIMITY_CRYPTAUTH_MOCK_SYNC_SCHEDULER_H

Powered by Google App Engine
This is Rietveld 408576698