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

Side by Side Diff: chrome/browser/extensions/test_management_policy.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_EXTENSIONS_TEST_MANAGEMENT_POLICY_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_MANAGEMENT_POLICY_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_MANAGEMENT_POLICY_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_MANAGEMENT_POLICY_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/string16.h" 10 #include "base/string16.h"
12 #include "chrome/browser/extensions/extension_service.h" 11 #include "chrome/browser/extensions/extension_service.h"
13 12
14 namespace extensions { 13 namespace extensions {
15 // This class provides a simple way to create providers with specific 14 // This class provides a simple way to create providers with specific
16 // restrictions and a known error message, for use in testing. 15 // restrictions and a known error message, for use in testing.
17 class TestManagementPolicyProvider : public ManagementPolicy::Provider { 16 class TestManagementPolicyProvider : public ManagementPolicy::Provider {
(...skipping 27 matching lines...) Expand all
45 44
46 private: 45 private:
47 bool may_load_; 46 bool may_load_;
48 bool may_modify_status_; 47 bool may_modify_status_;
49 bool must_remain_enabled_; 48 bool must_remain_enabled_;
50 49
51 string16 error_message_; 50 string16 error_message_;
52 }; 51 };
53 } // namespace 52 } // namespace
54 #endif // CHROME_BROWSER_EXTENSIONS_TEST_MANAGEMENT_POLICY_H_ 53 #endif // CHROME_BROWSER_EXTENSIONS_TEST_MANAGEMENT_POLICY_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_system.h ('k') | chrome/browser/extensions/theme_installed_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698