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

Side by Side Diff: chrome/browser/chromeos/arc/arc_util.h

Issue 2895113002: Delete a TODO comment that had already been addressed. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_CHROMEOS_ARC_ARC_UTIL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 14 matching lines...) Expand all
25 namespace arc { 25 namespace arc {
26 26
27 // Values to be stored in the local state preference to keep track of the 27 // Values to be stored in the local state preference to keep track of the
28 // filesystem encryption migration status. 28 // filesystem encryption migration status.
29 enum FileSystemCompatibilityState : int32_t { 29 enum FileSystemCompatibilityState : int32_t {
30 // No migiration has happend, user keeps using the old file system. 30 // No migiration has happend, user keeps using the old file system.
31 kFileSystemIncompatible = 0, 31 kFileSystemIncompatible = 0,
32 // Migration has happend. New filesystem is in use. 32 // Migration has happend. New filesystem is in use.
33 kFileSystemCompatible = 1, 33 kFileSystemCompatible = 1,
34 // Migration has happend, and a notification about the fact was already shown. 34 // Migration has happend, and a notification about the fact was already shown.
35 // TODO(kinaba): This value isn't yet used until crbug.com/711095 is done.
36 kFileSystemCompatibleAndNotified = 2, 35 kFileSystemCompatibleAndNotified = 2,
37 36
38 // Existing code assumes that kFileSystemIncompatible is the only state 37 // Existing code assumes that kFileSystemIncompatible is the only state
39 // representing incompatibility and other values are all variants of 38 // representing incompatibility and other values are all variants of
40 // "compatible" state. Be careful in the case adding a new enum value. 39 // "compatible" state. Be careful in the case adding a new enum value.
41 }; 40 };
42 41
43 // Returns true if ARC is allowed to run for the given profile. 42 // Returns true if ARC is allowed to run for the given profile.
44 // Otherwise, returns false, e.g. if the Profile is not for the primary user, 43 // Otherwise, returns false, e.g. if the Profile is not for the primary user,
45 // ARC is not available on the device, it is in the flow to set up managed 44 // ARC is not available on the device, it is in the flow to set up managed
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // for the profile is compatible with ARC, when necessary. After it's done (or 103 // for the profile is compatible with ARC, when necessary. After it's done (or
105 // skipped), |callback| is run either synchronously or asynchronously. 104 // skipped), |callback| is run either synchronously or asynchronously.
106 void UpdateArcFileSystemCompatibilityPrefIfNeeded( 105 void UpdateArcFileSystemCompatibilityPrefIfNeeded(
107 const AccountId& account_id, 106 const AccountId& account_id,
108 const base::FilePath& profile_path, 107 const base::FilePath& profile_path,
109 const base::Closure& callback); 108 const base::Closure& callback);
110 109
111 } // namespace arc 110 } // namespace arc
112 111
113 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_ 112 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698