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

Side by Side Diff: chrome/browser/ui/app_list/extension_app_model_builder.h

Issue 398083002: Add "UninstallReason" parameter to ExtensionRegistryObserver::OnExtensionUninstalled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix header file. Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // extensions::ExtensionRegistryObserver. 72 // extensions::ExtensionRegistryObserver.
73 virtual void OnExtensionLoaded( 73 virtual void OnExtensionLoaded(
74 content::BrowserContext* browser_context, 74 content::BrowserContext* browser_context,
75 const extensions::Extension* extension) OVERRIDE; 75 const extensions::Extension* extension) OVERRIDE;
76 virtual void OnExtensionUnloaded( 76 virtual void OnExtensionUnloaded(
77 content::BrowserContext* browser_context, 77 content::BrowserContext* browser_context,
78 const extensions::Extension* extension, 78 const extensions::Extension* extension,
79 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; 79 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE;
80 virtual void OnExtensionUninstalled( 80 virtual void OnExtensionUninstalled(
81 content::BrowserContext* browser_context, 81 content::BrowserContext* browser_context,
82 const extensions::Extension* extension) OVERRIDE; 82 const extensions::Extension* extension,
83 extensions::UninstallReason reason) OVERRIDE;
83 virtual void OnShutdown(extensions::ExtensionRegistry* registry) OVERRIDE; 84 virtual void OnShutdown(extensions::ExtensionRegistry* registry) OVERRIDE;
84 85
85 // AppListItemListObserver. 86 // AppListItemListObserver.
86 virtual void OnListItemMoved(size_t from_index, 87 virtual void OnListItemMoved(size_t from_index,
87 size_t to_index, 88 size_t to_index,
88 app_list::AppListItem* item) OVERRIDE; 89 app_list::AppListItem* item) OVERRIDE;
89 90
90 scoped_ptr<ExtensionAppItem> CreateAppItem( 91 scoped_ptr<ExtensionAppItem> CreateAppItem(
91 const std::string& extension_id, 92 const std::string& extension_id,
92 const std::string& extension_name, 93 const std::string& extension_name,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // We listen to this to show app installing progress. 146 // We listen to this to show app installing progress.
146 extensions::InstallTracker* tracker_; 147 extensions::InstallTracker* tracker_;
147 148
148 // Listen extension's load, unload, uninstalled. 149 // Listen extension's load, unload, uninstalled.
149 extensions::ExtensionRegistry* extension_registry_; 150 extensions::ExtensionRegistry* extension_registry_;
150 151
151 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder); 152 DISALLOW_COPY_AND_ASSIGN(ExtensionAppModelBuilder);
152 }; 153 };
153 154
154 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_ 155 #endif // CHROME_BROWSER_UI_APP_LIST_EXTENSION_APP_MODEL_BUILDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_syncable_service.cc ('k') | chrome/browser/ui/app_list/extension_app_model_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698