| 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 #include "chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.h" | 5 #include "chrome/browser/chromeos/app_mode/kiosk_diagnosis_runner.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 9 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 12 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" | 13 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 14 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 15 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 15 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 16 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| 16 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 17 #include "extensions/browser/extension_system_provider.h" | 18 #include "extensions/browser/extension_system_provider.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 feedback_data, | 119 feedback_data, |
| 119 base::Bind(&KioskDiagnosisRunner::OnFeedbackSent, | 120 base::Bind(&KioskDiagnosisRunner::OnFeedbackSent, |
| 120 weak_factory_.GetWeakPtr())); | 121 weak_factory_.GetWeakPtr())); |
| 121 } | 122 } |
| 122 | 123 |
| 123 void KioskDiagnosisRunner::OnFeedbackSent(bool) { | 124 void KioskDiagnosisRunner::OnFeedbackSent(bool) { |
| 124 // Do nothing. | 125 // Do nothing. |
| 125 } | 126 } |
| 126 | 127 |
| 127 } // namespace chromeos | 128 } // namespace chromeos |
| OLD | NEW |