| 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/memory/singleton.h" | 8 #include "base/memory/singleton.h" |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" | 12 #include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h" |
| 13 #include "chrome/browser/profiles/profile.h" |
| 13 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" | 14 #include "components/browser_context_keyed_service/browser_context_dependency_ma
nager.h" |
| 14 #include "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" | 15 #include "components/browser_context_keyed_service/browser_context_keyed_service
_factory.h" |
| 15 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 16 #include "extensions/browser/extension_system_provider.h" | 17 #include "extensions/browser/extension_system_provider.h" |
| 17 #include "extensions/browser/extensions_browser_client.h" | 18 #include "extensions/browser/extensions_browser_client.h" |
| 18 | 19 |
| 19 namespace chromeos { | 20 namespace chromeos { |
| 20 | 21 |
| 21 class KioskDiagnosisRunner::Factory : public BrowserContextKeyedServiceFactory { | 22 class KioskDiagnosisRunner::Factory : public BrowserContextKeyedServiceFactory { |
| 22 public: | 23 public: |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 feedback_data, | 118 feedback_data, |
| 118 base::Bind(&KioskDiagnosisRunner::OnFeedbackSent, | 119 base::Bind(&KioskDiagnosisRunner::OnFeedbackSent, |
| 119 weak_factory_.GetWeakPtr())); | 120 weak_factory_.GetWeakPtr())); |
| 120 } | 121 } |
| 121 | 122 |
| 122 void KioskDiagnosisRunner::OnFeedbackSent(bool) { | 123 void KioskDiagnosisRunner::OnFeedbackSent(bool) { |
| 123 // Do nothing. | 124 // Do nothing. |
| 124 } | 125 } |
| 125 | 126 |
| 126 } // namespace chromeos | 127 } // namespace chromeos |
| OLD | NEW |