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

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

Issue 2642783003: Move more utility functions to arc_util. (Closed)
Patch Set: Revert IsIntentHelperAvailable fix. Created 3 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
7
8 // Most utility should be put in components/arc/arc_util.{h,cc}, rather than
9 // here. However, some utility implementation requires other modules defined in
10 // chrome/, so this file contains such utilities.
Luis Héctor Chávez 2017/01/19 18:09:15 nit: mention that including chrome/ from component
hidehiko 2017/01/24 17:46:11 Done.
11
12 class Profile;
13
14 namespace arc {
15 namespace util {
Luis Héctor Chávez 2017/01/19 18:09:15 I think I agree with nya@'s original comment of th
hidehiko 2017/01/24 17:46:12 Ok, so name conflicting should be resolved now. Re
16
17 // Returns true if Arc is allowed to run for the given profile.
Luis Héctor Chávez 2017/01/19 18:09:15 nit: s/Arc/ARC/
Yusuke Sato 2017/01/19 22:39:31 Can we have a little bit more documentation? Expla
hidehiko 2017/01/24 17:46:12 Done.
hidehiko 2017/01/24 17:46:12 I just moved the comment ;-). Anyway, fixed.
18 bool IsArcAllowedForProfile(const Profile* profile);
19
20 } // namespace util
21 } // namespace arc
22
23 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698