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

Side by Side Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 7 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_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void RegisterMessages() override; 65 void RegisterMessages() override;
66 66
67 // content::NotificationObserver: 67 // content::NotificationObserver:
68 void Observe(int type, 68 void Observe(int type,
69 const content::NotificationSource& source, 69 const content::NotificationSource& source,
70 const content::NotificationDetails& details) override; 70 const content::NotificationDetails& details) override;
71 71
72 // extensions::ExtensionRegistryObserver: 72 // extensions::ExtensionRegistryObserver:
73 void OnExtensionLoaded(content::BrowserContext* browser_context, 73 void OnExtensionLoaded(content::BrowserContext* browser_context,
74 const extensions::Extension* extension) override; 74 const extensions::Extension* extension) override;
75 void OnExtensionUnloaded( 75 void OnExtensionUnloaded(content::BrowserContext* browser_context,
76 content::BrowserContext* browser_context, 76 const extensions::Extension* extension,
77 const extensions::Extension* extension, 77 extensions::UnloadedExtensionReason reason) override;
78 extensions::UnloadedExtensionInfo::Reason reason) override;
79 void OnExtensionUninstalled(content::BrowserContext* browser_context, 78 void OnExtensionUninstalled(content::BrowserContext* browser_context,
80 const extensions::Extension* extension, 79 const extensions::Extension* extension,
81 extensions::UninstallReason reason) override; 80 extensions::UninstallReason reason) override;
82 81
83 // Populate the given dictionary with all installed app info. 82 // Populate the given dictionary with all installed app info.
84 void FillAppDictionary(base::DictionaryValue* value); 83 void FillAppDictionary(base::DictionaryValue* value);
85 84
86 // Create a dictionary value for the given extension. May return null, e.g. if 85 // Create a dictionary value for the given extension. May return null, e.g. if
87 // the given extension is not an app. 86 // the given extension is not an app.
88 std::unique_ptr<base::DictionaryValue> GetAppInfo( 87 std::unique_ptr<base::DictionaryValue> GetAppInfo(
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // when the app is added to the page (via getAppsCallback or appAdded). 228 // when the app is added to the page (via getAppsCallback or appAdded).
230 std::string highlight_app_id_; 229 std::string highlight_app_id_;
231 230
232 // Used for favicon loading tasks. 231 // Used for favicon loading tasks.
233 base::CancelableTaskTracker cancelable_task_tracker_; 232 base::CancelableTaskTracker cancelable_task_tracker_;
234 233
235 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 234 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
236 }; 235 };
237 236
238 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 237 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698