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

Side by Side Diff: components/policy/core/common/policy_loader_mac.cc

Issue 273153003: Remove stray platform_file.h from chrome and components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove "using" Created 6 years, 7 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
« no previous file with comments | « components/policy/core/common/config_dir_policy_loader.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/policy/core/common/policy_loader_mac.h" 5 #include "components/policy/core/common/policy_loader_mac.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/mac/foundation_util.h" 11 #include "base/mac/foundation_util.h"
12 #include "base/mac/scoped_cftyperef.h" 12 #include "base/mac/scoped_cftyperef.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/platform_file.h"
15 #include "base/sequenced_task_runner.h" 14 #include "base/sequenced_task_runner.h"
16 #include "base/strings/sys_string_conversions.h" 15 #include "base/strings/sys_string_conversions.h"
17 #include "base/values.h" 16 #include "base/values.h"
18 #include "components/policy/core/common/external_data_fetcher.h" 17 #include "components/policy/core/common/external_data_fetcher.h"
19 #include "components/policy/core/common/mac_util.h" 18 #include "components/policy/core/common/mac_util.h"
20 #include "components/policy/core/common/policy_bundle.h" 19 #include "components/policy/core/common/policy_bundle.h"
21 #include "components/policy/core/common/policy_load_status.h" 20 #include "components/policy/core/common/policy_load_status.h"
22 #include "components/policy/core/common/policy_map.h" 21 #include "components/policy/core/common/policy_map.h"
23 #include "components/policy/core/common/preferences_mac.h" 22 #include "components/policy/core/common/preferences_mac.h"
24 #include "components/policy/core/common/schema.h" 23 #include "components/policy/core/common/schema.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 } 152 }
154 } 153 }
155 } 154 }
156 155
157 void PolicyLoaderMac::OnFileUpdated(const base::FilePath& path, bool error) { 156 void PolicyLoaderMac::OnFileUpdated(const base::FilePath& path, bool error) {
158 if (!error) 157 if (!error)
159 Reload(false); 158 Reload(false);
160 } 159 }
161 160
162 } // namespace policy 161 } // namespace policy
OLDNEW
« no previous file with comments | « components/policy/core/common/config_dir_policy_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698