OLD | NEW |
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 #include "chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.h" | 5 #include "chrome/browser/ui/webui/settings/chromeos/device_stylus_handler.h" |
6 | 6 |
7 #include "ash/common/system/chromeos/palette/palette_utils.h" | 7 #include "ash/system/palette/palette_utils.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "chrome/browser/chromeos/arc/arc_util.h" | 9 #include "chrome/browser/chromeos/arc/arc_util.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/ui/app_list/arc/arc_app_utils.h" | 11 #include "chrome/browser/ui/app_list/arc/arc_app_utils.h" |
12 #include "ui/events/devices/input_device_manager.h" | 12 #include "ui/events/devices/input_device_manager.h" |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 namespace settings { | 15 namespace settings { |
16 | 16 |
17 namespace { | 17 namespace { |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 if (!arc::IsArcAllowedForProfile(profile)) { | 128 if (!arc::IsArcAllowedForProfile(profile)) { |
129 VLOG(1) << "ARC is not enabled for this profile"; | 129 VLOG(1) << "ARC is not enabled for this profile"; |
130 return; | 130 return; |
131 } | 131 } |
132 | 132 |
133 arc::LaunchPlayStoreWithUrl(apps_url); | 133 arc::LaunchPlayStoreWithUrl(apps_url); |
134 } | 134 } |
135 | 135 |
136 } // namespace settings | 136 } // namespace settings |
137 } // namespace chromeos | 137 } // namespace chromeos |
OLD | NEW |