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

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

Issue 142993002: Remove unused members from WebApplicationInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 10 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // Other registered message callbacks with unused |args|. 105 // Other registered message callbacks with unused |args|.
106 void StopShowingAppLauncherPromo(const base::ListValue* args); 106 void StopShowingAppLauncherPromo(const base::ListValue* args);
107 void OnLearnMore(const base::ListValue* args); 107 void OnLearnMore(const base::ListValue* args);
108 108
109 private: 109 private:
110 struct AppInstallInfo { 110 struct AppInstallInfo {
111 AppInstallInfo(); 111 AppInstallInfo();
112 ~AppInstallInfo(); 112 ~AppInstallInfo();
113 113
114 bool is_bookmark_app;
115 base::string16 title; 114 base::string16 title;
116 GURL app_url; 115 GURL app_url;
117 syncer::StringOrdinal page_ordinal; 116 syncer::StringOrdinal page_ordinal;
118 }; 117 };
119 118
120 // Reset some instance flags we use to track the currently uninstalling app. 119 // Reset some instance flags we use to track the currently uninstalling app.
121 void CleanupAfterUninstall(); 120 void CleanupAfterUninstall();
122 121
123 // Prompts the user to re-enable the app for |extension_id|. 122 // Prompts the user to re-enable the app for |extension_id|.
124 void PromptToEnableApp(const std::string& extension_id); 123 void PromptToEnableApp(const std::string& extension_id);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // when the app is added to the page (via getAppsCallback or appAdded). 188 // when the app is added to the page (via getAppsCallback or appAdded).
190 std::string highlight_app_id_; 189 std::string highlight_app_id_;
191 190
192 // Used for favicon loading tasks. 191 // Used for favicon loading tasks.
193 CancelableTaskTracker cancelable_task_tracker_; 192 CancelableTaskTracker cancelable_task_tracker_;
194 193
195 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 194 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
196 }; 195 };
197 196
198 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_ 197 #endif // CHROME_BROWSER_UI_WEBUI_NTP_APP_LAUNCHER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/tab_helper.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