Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7286)

Unified Diff: chrome/browser/themes/theme_service_unittest.cc

Issue 242613004: Replace NOTIFICATION_EXTENSION_LOADED to NOTIFICATION_EXTENSION_LOADED_DEPRECATED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/app_list/search/app_search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/theme_service_unittest.cc
diff --git a/chrome/browser/themes/theme_service_unittest.cc b/chrome/browser/themes/theme_service_unittest.cc
index c83adcd2d3d2606522625f56670279560830b32c..cbebc923b8ffacb585e4c69c416f58c8d0f6a7cf 100644
--- a/chrome/browser/themes/theme_service_unittest.cc
+++ b/chrome/browser/themes/theme_service_unittest.cc
@@ -46,7 +46,7 @@ class ThemeServiceTest : public ExtensionServiceTestBase {
scoped_refptr<extensions::UnpackedInstaller> installer(
extensions::UnpackedInstaller::Create(service_));
content::WindowedNotificationObserver observer(
- chrome::NOTIFICATION_EXTENSION_LOADED,
+ chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
content::Source<Profile>(profile_.get()));
installer->Load(temp_dir);
observer.Wait();
@@ -62,9 +62,10 @@ class ThemeServiceTest : public ExtensionServiceTestBase {
// Update the theme with |extension_id|.
void UpdateUnpackedTheme(const std::string& extension_id) {
- int updated_notification = service_->IsExtensionEnabled(extension_id) ?
- chrome::NOTIFICATION_EXTENSION_LOADED :
- chrome::NOTIFICATION_EXTENSION_UPDATE_DISABLED;
+ int updated_notification =
+ service_->IsExtensionEnabled(extension_id)
+ ? chrome::NOTIFICATION_EXTENSION_LOADED_DEPRECATED
+ : chrome::NOTIFICATION_EXTENSION_UPDATE_DISABLED;
const base::FilePath& path =
service_->GetInstalledExtension(extension_id)->path();
« no previous file with comments | « chrome/browser/themes/theme_service.cc ('k') | chrome/browser/ui/app_list/search/app_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698