OLD | NEW |
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_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/extensions/api/feedback_private/feedback_service.h" | 12 #include "chrome/browser/extensions/api/feedback_private/feedback_service.h" |
13 #include "components/keyed_service/core/keyed_service.h" | 13 #include "components/keyed_service/core/keyed_service.h" |
14 | 14 |
15 class Profile; | 15 class Profile; |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 // A class to run diagnose for kiosk app. Currently, it only schedules a | 19 // A class to run diagnose for kiosk app. Currently, it only schedules a |
20 // feedback to collected. | 20 // feedback to collected. |
(...skipping 18 matching lines...) Expand all Loading... |
39 Profile* profile_; | 39 Profile* profile_; |
40 std::string app_id_; | 40 std::string app_id_; |
41 base::WeakPtrFactory<KioskDiagnosisRunner> weak_factory_; | 41 base::WeakPtrFactory<KioskDiagnosisRunner> weak_factory_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(KioskDiagnosisRunner); | 43 DISALLOW_COPY_AND_ASSIGN(KioskDiagnosisRunner); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace chromeos | 46 } // namespace chromeos |
47 | 47 |
48 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ | 48 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_DIAGNOSIS_RUNNER_H_ |
OLD | NEW |