| Index: chrome/browser/policy/mock_device_management_backend.h
 | 
| diff --git a/chrome/browser/policy/mock_device_management_backend.h b/chrome/browser/policy/mock_device_management_backend.h
 | 
| index 6b3258c6b34e08bb9f9791661384a28e8ef98ce0..9371dc06b03860db294574496d83f4015783a7d6 100644
 | 
| --- a/chrome/browser/policy/mock_device_management_backend.h
 | 
| +++ b/chrome/browser/policy/mock_device_management_backend.h
 | 
| @@ -11,8 +11,8 @@
 | 
|  
 | 
|  #include "base/values.h"
 | 
|  #include "chrome/browser/policy/device_management_backend.h"
 | 
| -#include "testing/gtest/include/gtest/gtest.h"
 | 
|  #include "testing/gmock/include/gmock/gmock.h"
 | 
| +#include "testing/gtest/include/gtest/gtest.h"
 | 
|  
 | 
|  namespace policy {
 | 
|  
 | 
| @@ -49,6 +49,8 @@ class MockDeviceManagementBackend
 | 
|    void AllShouldSucceed();
 | 
|    void AllShouldFail();
 | 
|    void UnmanagedDevice();
 | 
| +  void RegisterFailsOncePolicyFailsTwice();
 | 
| +  void AllWorksFirstPolicyFailsLater();
 | 
|  
 | 
|    void SimulateSuccessfulRegisterRequest(
 | 
|        const std::string& auth_token,
 | 
| @@ -86,6 +88,10 @@ class MockDeviceManagementBackend
 | 
|    em::DevicePolicyResponse policy_response_;
 | 
|    em::DevicePolicySetting* policy_setting_;
 | 
|  
 | 
| +  int policy_remaining_fail_count_;
 | 
| +  int register_remaining_fail_count_;
 | 
| +  int policy_remaining_success_count_;
 | 
| +
 | 
|    DISALLOW_COPY_AND_ASSIGN(MockDeviceManagementBackend);
 | 
|  };
 | 
|  
 | 
| 
 |