| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/extensions/extension_service.h" | 5 #include "chrome/browser/extensions/extension_service.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "base/macros.h" | 28 #include "base/macros.h" |
| 29 #include "base/memory/ptr_util.h" | 29 #include "base/memory/ptr_util.h" |
| 30 #include "base/memory/weak_ptr.h" | 30 #include "base/memory/weak_ptr.h" |
| 31 #include "base/single_thread_task_runner.h" | 31 #include "base/single_thread_task_runner.h" |
| 32 #include "base/stl_util.h" | 32 #include "base/stl_util.h" |
| 33 #include "base/strings/pattern.h" | 33 #include "base/strings/pattern.h" |
| 34 #include "base/strings/string16.h" | 34 #include "base/strings/string16.h" |
| 35 #include "base/strings/string_number_conversions.h" | 35 #include "base/strings/string_number_conversions.h" |
| 36 #include "base/strings/string_util.h" | 36 #include "base/strings/string_util.h" |
| 37 #include "base/strings/utf_string_conversions.h" | 37 #include "base/strings/utf_string_conversions.h" |
| 38 #include "base/thread_task_runner_handle.h" | 38 #include "base/threading/thread_task_runner_handle.h" |
| 39 #include "base/version.h" | 39 #include "base/version.h" |
| 40 #include "build/build_config.h" | 40 #include "build/build_config.h" |
| 41 #include "chrome/browser/after_startup_task_utils.h" | 41 #include "chrome/browser/after_startup_task_utils.h" |
| 42 #include "chrome/browser/browser_process.h" | 42 #include "chrome/browser/browser_process.h" |
| 43 #include "chrome/browser/chrome_notification_types.h" | 43 #include "chrome/browser/chrome_notification_types.h" |
| 44 #include "chrome/browser/extensions/blacklist.h" | 44 #include "chrome/browser/extensions/blacklist.h" |
| 45 #include "chrome/browser/extensions/chrome_app_sorting.h" | 45 #include "chrome/browser/extensions/chrome_app_sorting.h" |
| 46 #include "chrome/browser/extensions/component_loader.h" | 46 #include "chrome/browser/extensions/component_loader.h" |
| 47 #include "chrome/browser/extensions/crx_installer.h" | 47 #include "chrome/browser/extensions/crx_installer.h" |
| 48 #include "chrome/browser/extensions/default_apps.h" | 48 #include "chrome/browser/extensions/default_apps.h" |
| (...skipping 6474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6523 | 6523 |
| 6524 service()->Observe(chrome::NOTIFICATION_PROFILE_DESTRUCTION_STARTED, | 6524 service()->Observe(chrome::NOTIFICATION_PROFILE_DESTRUCTION_STARTED, |
| 6525 content::Source<Profile>(profile()), | 6525 content::Source<Profile>(profile()), |
| 6526 content::NotificationService::NoDetails()); | 6526 content::NotificationService::NoDetails()); |
| 6527 EXPECT_EQ(UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN, unloaded_reason_); | 6527 EXPECT_EQ(UnloadedExtensionInfo::REASON_PROFILE_SHUTDOWN, unloaded_reason_); |
| 6528 EXPECT_EQ(0u, registry()->enabled_extensions().size()); | 6528 EXPECT_EQ(0u, registry()->enabled_extensions().size()); |
| 6529 EXPECT_EQ(0u, registry()->disabled_extensions().size()); | 6529 EXPECT_EQ(0u, registry()->disabled_extensions().size()); |
| 6530 EXPECT_EQ(0u, registry()->terminated_extensions().size()); | 6530 EXPECT_EQ(0u, registry()->terminated_extensions().size()); |
| 6531 EXPECT_EQ(0u, registry()->blacklisted_extensions().size()); | 6531 EXPECT_EQ(0u, registry()->blacklisted_extensions().size()); |
| 6532 } | 6532 } |
| OLD | NEW |