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

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

Issue 7585036: First CL for the about:policy page. This only implements the policy section of the page. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_CONFIGURATION_POLICY_READER_H_
6 #define CHROME_BROWSER_POLICY_MOCK_CONFIGURATION_POLICY_READER_H_
7 #pragma once
8
9 #include "chrome/browser/policy/configuration_policy_reader.h"
10
11 #include "base/values.h"
12 #include "testing/gmock/include/gmock/gmock.h"
13
14 namespace policy {
15
16 // Mock ConfigurationPolicyReader implementation.
17 class MockConfigurationPolicyReader : public ConfigurationPolicyReader {
18 public:
19 MockConfigurationPolicyReader();
20 virtual ~MockConfigurationPolicyReader();
21
22 MOCK_CONST_METHOD1(GetPolicyStatus,
23 DictionaryValue*(ConfigurationPolicyType policy));
24 };
25
26 } // namespace policy
27
28 #endif // CHROME_BROWSER_POLICY_MOCK_CONFIGURATION_POLICY_READER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698