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

Unified Diff: blimp/client/test/test_blimp_client_context_delegate.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration 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
Index: blimp/client/test/test_blimp_client_context_delegate.h
diff --git a/blimp/client/test/test_blimp_client_context_delegate.h b/blimp/client/test/test_blimp_client_context_delegate.h
deleted file mode 100644
index b5b8c923587e92b717cb83d0ff549bacb21923c7..0000000000000000000000000000000000000000
--- a/blimp/client/test/test_blimp_client_context_delegate.h
+++ /dev/null
@@ -1,47 +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.
-
-#ifndef BLIMP_CLIENT_TEST_TEST_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
-#define BLIMP_CLIENT_TEST_TEST_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "blimp/client/public/blimp_client_context_delegate.h"
-#include "google_apis/gaia/fake_identity_provider.h"
-#include "google_apis/gaia/fake_oauth2_token_service.h"
-#include "google_apis/gaia/identity_provider.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-namespace blimp {
-namespace client {
-class BlimpContents;
-
-// Helper class to use in tests when a BlimpClientContextDelegate is needed.
-class TestBlimpClientContextDelegate : public BlimpClientContextDelegate {
- public:
- TestBlimpClientContextDelegate();
- ~TestBlimpClientContextDelegate() override;
-
- // BlimpClientContextDelegate implementation.
- MOCK_METHOD1(AttachBlimpContentsHelpers, void(BlimpContents*));
- MOCK_METHOD2(OnAssignmentConnectionAttempted,
- void(AssignmentRequestResult, const Assignment&));
- std::unique_ptr<IdentityProvider> CreateIdentityProvider() override;
- MOCK_METHOD1(OnAuthenticationError, void(const GoogleServiceAuthError&));
- MOCK_METHOD0(OnConnected, void());
- MOCK_METHOD1(OnEngineDisconnected, void(int));
- MOCK_METHOD1(OnNetworkDisconnected, void(int));
-
- FakeOAuth2TokenService* GetTokenService();
-
- private:
- std::unique_ptr<FakeOAuth2TokenService> token_service_;
- DISALLOW_COPY_AND_ASSIGN(TestBlimpClientContextDelegate);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_TEST_TEST_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
« no previous file with comments | « blimp/client/test/contents/mock_blimp_contents_observer.cc ('k') | blimp/client/test/test_blimp_client_context_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698