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

Side by Side Diff: components/policy/core/common/mock_configuration_policy_provider.h

Issue 1543423002: Switch to standard integer types in components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_MOCK_CONFIGURATION_POLICY_PROVIDER_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_MOCK_CONFIGURATION_POLICY_PROVIDER_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_MOCK_CONFIGURATION_POLICY_PROVIDER_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_MOCK_CONFIGURATION_POLICY_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "components/policy/core/common/configuration_policy_provider.h" 9 #include "components/policy/core/common/configuration_policy_provider.h"
10 #include "components/policy/core/common/policy_map.h" 10 #include "components/policy/core/common/policy_map.h"
11 #include "components/policy/core/common/schema_registry.h" 11 #include "components/policy/core/common/schema_registry.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 13
14 namespace policy { 14 namespace policy {
15 15
16 // Mock ConfigurationPolicyProvider implementation that supplies canned 16 // Mock ConfigurationPolicyProvider implementation that supplies canned
17 // values for polices. 17 // values for polices.
18 // TODO(joaodasilva, mnissler): introduce an implementation that non-policy 18 // TODO(joaodasilva, mnissler): introduce an implementation that non-policy
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 public: 57 public:
58 MockConfigurationPolicyObserver(); 58 MockConfigurationPolicyObserver();
59 virtual ~MockConfigurationPolicyObserver(); 59 virtual ~MockConfigurationPolicyObserver();
60 60
61 MOCK_METHOD1(OnUpdatePolicy, void(ConfigurationPolicyProvider*)); 61 MOCK_METHOD1(OnUpdatePolicy, void(ConfigurationPolicyProvider*));
62 }; 62 };
63 63
64 } // namespace policy 64 } // namespace policy
65 65
66 #endif // COMPONENTS_POLICY_CORE_COMMON_MOCK_CONFIGURATION_POLICY_PROVIDER_H_ 66 #endif // COMPONENTS_POLICY_CORE_COMMON_MOCK_CONFIGURATION_POLICY_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/configuration_policy_provider_test.h ('k') | components/policy/core/common/policy_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698