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

Side by Side Diff: chrome/browser/component_updater/supervised_user_whitelist_installer.h

Issue 2928823003: Make it possible to build without enable_supervised_users.
Patch Set: Does it still compile with the feature enabled? Created 3 years, 6 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 CHROME_BROWSER_COMPONENT_UPDATER_SUPERVISED_USER_WHITELIST_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_SUPERVISED_USER_WHITELIST_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_SUPERVISED_USER_WHITELIST_INSTALLER_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_SUPERVISED_USER_WHITELIST_INSTALLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback_forward.h" 15 #include "base/callback_forward.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "chrome/browser/supervised_user/supervised_users.h"
17 18
18 namespace base { 19 namespace base {
19 class FilePath; 20 class FilePath;
20 } 21 }
21 22
22 class PrefRegistrySimple; 23 class PrefRegistrySimple;
23 class PrefService; 24 class PrefService;
24 class ProfileAttributesStorage; 25 class ProfileAttributesStorage;
25 26
26 namespace component_updater { 27 namespace component_updater {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // called from the implementation subclass, and declared here so that the 85 // called from the implementation subclass, and declared here so that the
85 // OnDemandUpdater can friend this class and the implementation subclass can 86 // OnDemandUpdater can friend this class and the implementation subclass can
86 // live in an anonymous namespace. 87 // live in an anonymous namespace.
87 static void TriggerComponentUpdate(OnDemandUpdater* updater, 88 static void TriggerComponentUpdate(OnDemandUpdater* updater,
88 const std::string& crx_id); 89 const std::string& crx_id);
89 }; 90 };
90 91
91 } // namespace component_updater 92 } // namespace component_updater
92 93
93 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SUPERVISED_USER_WHITELIST_INSTALLER_ H_ 94 #endif // CHROME_BROWSER_COMPONENT_UPDATER_SUPERVISED_USER_WHITELIST_INSTALLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698