| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/feedback/system_logs/log_sources/chrome_internal_log_so
urce.h" | 5 #include "chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_so
urce.h" |
| 6 | 6 |
| 7 #include "base/json/json_string_value_serializer.h" | 7 #include "base/json/json_string_value_serializer.h" |
| 8 #include "base/sys_info.h" | 8 #include "base/sys_info.h" |
| 9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
| 11 #include "chrome/browser/extensions/extension_system.h" | |
| 12 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
| 13 #include "chrome/browser/sync/about_sync_util.h" | 12 #include "chrome/browser/sync/about_sync_util.h" |
| 14 #include "chrome/browser/sync/profile_sync_service_factory.h" | 13 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 15 #include "chrome/browser/ui/webui/crashes_ui.h" | 14 #include "chrome/browser/ui/webui/crashes_ui.h" |
| 16 #include "chrome/common/chrome_version_info.h" | 15 #include "chrome/common/chrome_version_info.h" |
| 17 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
| 17 #include "extensions/browser/extension_system.h" |
| 18 #include "extensions/common/extension.h" | 18 #include "extensions/common/extension.h" |
| 19 #include "extensions/common/extension_set.h" | 19 #include "extensions/common/extension_set.h" |
| 20 | 20 |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| 24 const char kSyncDataKey[] = "about_sync_data"; | 24 const char kSyncDataKey[] = "about_sync_data"; |
| 25 const char kExtensionsListKey[] = "extensions"; | 25 const char kExtensionsListKey[] = "extensions"; |
| 26 const char kChromeVersionTag[] = "CHROME VERSION"; | 26 const char kChromeVersionTag[] = "CHROME VERSION"; |
| 27 #if !defined(OS_CHROMEOS) | 27 #if !defined(OS_CHROMEOS) |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 } | 120 } |
| 121 } | 121 } |
| 122 if (!extensions_list.empty()) | 122 if (!extensions_list.empty()) |
| 123 extensions_list += "\n"; | 123 extensions_list += "\n"; |
| 124 | 124 |
| 125 if (!extensions_list.empty()) | 125 if (!extensions_list.empty()) |
| 126 (*response)[kExtensionsListKey] = extensions_list; | 126 (*response)[kExtensionsListKey] = extensions_list; |
| 127 } | 127 } |
| 128 | 128 |
| 129 } // namespace system_logs | 129 } // namespace system_logs |
| OLD | NEW |