| Index: chrome/browser/chromeos/login/mock_signed_settings_helper.h
|
| diff --git a/chrome/browser/chromeos/login/mock_signed_settings_helper.h b/chrome/browser/chromeos/login/mock_signed_settings_helper.h
|
| deleted file mode 100644
|
| index b9c792c2814df0f0e583e1415f333acc8a0fd4f7..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/login/mock_signed_settings_helper.h
|
| +++ /dev/null
|
| @@ -1,39 +0,0 @@
|
| -// Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_SIGNED_SETTINGS_HELPER_H_
|
| -#define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_SIGNED_SETTINGS_HELPER_H_
|
| -
|
| -#include "base/basictypes.h"
|
| -#include "chrome/browser/chromeos/login/signed_settings_helper.h"
|
| -#include "testing/gmock/include/gmock/gmock.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -class MockSignedSettingsHelper : public chromeos::SignedSettingsHelper {
|
| - public:
|
| - MockSignedSettingsHelper();
|
| - virtual ~MockSignedSettingsHelper();
|
| -
|
| - MOCK_METHOD2(StartStorePolicyOp,
|
| - void(const enterprise_management::PolicyFetchResponse&,
|
| - SignedSettingsHelper::StorePolicyCallback));
|
| - MOCK_METHOD1(StartRetrievePolicyOp,
|
| - void(SignedSettingsHelper::RetrievePolicyCallback));
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(MockSignedSettingsHelper);
|
| -};
|
| -
|
| -ACTION_P(MockSignedSettingsHelperStorePolicy, status_code) {
|
| - arg1.Run(status_code);
|
| -}
|
| -
|
| -ACTION_P2(MockSignedSettingsHelperRetrievePolicy, status_code, policy) {
|
| - arg0.Run(status_code, policy);
|
| -}
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_SIGNED_SETTINGS_HELPER_H_
|
|
|