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

Side by Side Diff: components/policy/core/common/policy_loader_ios.h

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_IOS_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_IOS_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_IOS_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_IOS_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/sequenced_task_runner.h"
11 #include "base/time/time.h" 12 #include "base/time/time.h"
12 #include "components/policy/core/common/async_policy_loader.h" 13 #include "components/policy/core/common/async_policy_loader.h"
13 #include "components/policy/policy_export.h" 14 #include "components/policy/policy_export.h"
14 15
15 namespace policy { 16 namespace policy {
16 17
17 // A policy loader that loads policy from the managed app configuration 18 // A policy loader that loads policy from the managed app configuration
18 // introduced in iOS 7. 19 // introduced in iOS 7.
19 class POLICY_EXPORT PolicyLoaderIOS : public AsyncPolicyLoader { 20 class POLICY_EXPORT PolicyLoaderIOS : public AsyncPolicyLoader {
20 public: 21 public:
(...skipping 23 matching lines...) Expand all
44 // Used to Bind() a WeakPtr to |this| for the callback passed to the 45 // Used to Bind() a WeakPtr to |this| for the callback passed to the
45 // |notification_observer_|. 46 // |notification_observer_|.
46 base::WeakPtrFactory<PolicyLoaderIOS> weak_factory_; 47 base::WeakPtrFactory<PolicyLoaderIOS> weak_factory_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(PolicyLoaderIOS); 49 DISALLOW_COPY_AND_ASSIGN(PolicyLoaderIOS);
49 }; 50 };
50 51
51 } // namespace policy 52 } // namespace policy
52 53
53 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_IOS_H_ 54 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_IOS_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/config_dir_policy_loader.h ('k') | components/policy/core/common/policy_loader_ios_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698