diff options
author | dconnelly@chromium.org <dconnelly@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 13:13:46 +0000 |
---|---|---|
committer | dconnelly@chromium.org <dconnelly@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 13:13:46 +0000 |
commit | 4a9ab5173f4c1ea61f695ddcf59f05b9e4ab6c20 (patch) | |
tree | 7d182b01248dee53bb8b4104dfe37c1b0933c583 /chrome/browser/policy/preferences_mac.h | |
parent | dde3e9cb5128757e35ba5b9fa71cdf2abe01041d (diff) | |
download | chromium_src-4a9ab5173f4c1ea61f695ddcf59f05b9e4ab6c20.zip chromium_src-4a9ab5173f4c1ea61f695ddcf59f05b9e4ab6c20.tar.gz chromium_src-4a9ab5173f4c1ea61f695ddcf59f05b9e4ab6c20.tar.bz2 |
Move PreferencesMac to components/policy/.
This is a re-land of https://codereview.chromium.org/78603003/
BUG=271392
R=joaodasilva,jochen
Review URL: https://codereview.chromium.org/104373002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238960 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/policy/preferences_mac.h')
-rw-r--r-- | chrome/browser/policy/preferences_mac.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chrome/browser/policy/preferences_mac.h b/chrome/browser/policy/preferences_mac.h deleted file mode 100644 index 31a46d8..0000000 --- a/chrome/browser/policy/preferences_mac.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_POLICY_PREFERENCES_MAC_H_ -#define CHROME_BROWSER_POLICY_PREFERENCES_MAC_H_ - -#include <CoreFoundation/CoreFoundation.h> - -#include "base/basictypes.h" - -// Wraps a small part of the CFPreferences API surface in a very thin layer, to -// allow it to be mocked out for testing. - -// See CFPreferences documentation for function documentation, as these call -// through directly to their CFPreferences equivalents (Foo -> -// CFPreferencesFoo). -class MacPreferences { - public: - MacPreferences() {} - virtual ~MacPreferences() {} - - virtual Boolean AppSynchronize(CFStringRef applicationID); - - virtual CFPropertyListRef CopyAppValue(CFStringRef key, - CFStringRef applicationID); - - virtual Boolean AppValueIsForced(CFStringRef key, CFStringRef applicationID); - - private: - DISALLOW_COPY_AND_ASSIGN(MacPreferences); -}; - -#endif // CHROME_BROWSER_POLICY_PREFERENCES_MAC_H_ |