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

Side by Side Diff: chrome/browser/policy/mock_policy_service.h

Issue 10916235: Record policy usage statistics every 24 hours. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed compilation Created 8 years, 3 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_POLICY_MOCK_POLICY_SERVICE_H_
6 #define CHROME_BROWSER_POLICY_MOCK_POLICY_SERVICE_H_
7
8 #include "chrome/browser/policy/policy_service.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace policy {
12
13 class MockPolicyService : public PolicyService {
14 public:
15 MockPolicyService();
16 ~MockPolicyService();
17
18 MOCK_METHOD2(AddObserver, void(PolicyDomain, Observer*));
19 MOCK_METHOD2(RemoveObserver, void(PolicyDomain, Observer*));
20 MOCK_CONST_METHOD2(GetPolicies, const PolicyMap&(PolicyDomain,
21 const std::string&));
22 MOCK_CONST_METHOD0(IsInitializationComplete, bool(void));
23 MOCK_METHOD1(RefreshPolicies, void(const base::Closure&));
24 };
25
26 } // namespace policy
27
28 #endif // CHROME_BROWSER_POLICY_MOCK_POLICY_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc ('k') | chrome/browser/policy/mock_policy_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698