| Index: components/password_manager/core/browser/android_affiliation/mock_affiliation_consumer.h
|
| diff --git a/components/password_manager/core/browser/android_affiliation/mock_affiliation_consumer.h b/components/password_manager/core/browser/android_affiliation/mock_affiliation_consumer.h
|
| deleted file mode 100644
|
| index c597bc2f1f66c7ba5434873bee2d2b6f5610c74d..0000000000000000000000000000000000000000
|
| --- a/components/password_manager/core/browser/android_affiliation/mock_affiliation_consumer.h
|
| +++ /dev/null
|
| @@ -1,39 +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_PASSWORD_MANAGER_CORE_BROWSER_ANDROID_AFFILIATION_MOCK_AFFILIATION_CONSUMER_H_
|
| -#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_ANDROID_AFFILIATION_MOCK_AFFILIATION_CONSUMER_H_
|
| -
|
| -#include "base/macros.h"
|
| -#include "components/password_manager/core/browser/android_affiliation/affiliation_service.h"
|
| -#include "components/password_manager/core/browser/android_affiliation/affiliation_utils.h"
|
| -#include "testing/gmock/include/gmock/gmock.h"
|
| -
|
| -namespace password_manager {
|
| -
|
| -// A mock consumer of AffiliationService::GetAffiliations().
|
| -class MockAffiliationConsumer {
|
| - public:
|
| - MockAffiliationConsumer();
|
| - ~MockAffiliationConsumer();
|
| -
|
| - // Expects that the result callback will be called exactly once and that it
|
| - // will indicate success and return |expected_result|.
|
| - void ExpectSuccessWithResult(const AffiliatedFacets& expected_result);
|
| -
|
| - // Expects that the result callback will be called exactly once and that it
|
| - // will indicate a failed lookup.
|
| - void ExpectFailure();
|
| -
|
| - AffiliationService::ResultCallback GetResultCallback();
|
| -
|
| - private:
|
| - MOCK_METHOD2(OnResultCallback, void(const AffiliatedFacets&, bool));
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(MockAffiliationConsumer);
|
| -};
|
| -
|
| -} // namespace password_manager
|
| -
|
| -#endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_ANDROID_AFFILIATION_MOCK_AFFILIATION_CONSUMER_H_
|
|
|