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

Side by Side Diff: chrome/browser/ui/app_list/search/app_result.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 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 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // ExtensionEnableFlowDelegate overrides: 71 // ExtensionEnableFlowDelegate overrides:
72 virtual void ExtensionEnableFlowFinished() OVERRIDE; 72 virtual void ExtensionEnableFlowFinished() OVERRIDE;
73 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE; 73 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE;
74 74
75 // extensions::ExtensionRegistryObserver override: 75 // extensions::ExtensionRegistryObserver override:
76 virtual void OnExtensionLoaded( 76 virtual void OnExtensionLoaded(
77 content::BrowserContext* browser_context, 77 content::BrowserContext* browser_context,
78 const extensions::Extension* extension) OVERRIDE; 78 const extensions::Extension* extension) OVERRIDE;
79 virtual void OnExtensionUninstalled( 79 virtual void OnExtensionUninstalled(
80 content::BrowserContext* browser_context, 80 content::BrowserContext* browser_context,
81 const extensions::Extension* extension) OVERRIDE; 81 const extensions::Extension* extension,
82 extensions::UninstallReason reason) OVERRIDE;
82 virtual void OnShutdown(extensions::ExtensionRegistry* registry) OVERRIDE; 83 virtual void OnShutdown(extensions::ExtensionRegistry* registry) OVERRIDE;
83 84
84 Profile* profile_; 85 Profile* profile_;
85 const std::string app_id_; 86 const std::string app_id_;
86 AppListControllerDelegate* controller_; 87 AppListControllerDelegate* controller_;
87 88
88 bool is_platform_app_; 89 bool is_platform_app_;
89 scoped_ptr<extensions::IconImage> icon_; 90 scoped_ptr<extensions::IconImage> icon_;
90 scoped_ptr<AppContextMenu> context_menu_; 91 scoped_ptr<AppContextMenu> context_menu_;
91 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; 92 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;
92 93
93 extensions::ExtensionRegistry* extension_registry_; 94 extensions::ExtensionRegistry* extension_registry_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(AppResult); 96 DISALLOW_COPY_AND_ASSIGN(AppResult);
96 }; 97 };
97 98
98 } // namespace app_list 99 } // namespace app_list
99 100
100 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 101 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/recommended_apps.cc ('k') | chrome/browser/ui/app_list/search/app_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698