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

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

Issue 137263007: Move CancelableTaskTracker to //base/task/CancelableTaskTracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to base/task/cancelable_task_tracker* 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
11 #include "apps/metrics_names.h" 11 #include "apps/metrics_names.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/prefs/pref_change_registrar.h" 13 #include "base/prefs/pref_change_registrar.h"
14 #include "base/task/cancelable_task_tracker.h"
14 #include "chrome/browser/extensions/extension_uninstall_dialog.h" 15 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
15 #include "chrome/browser/favicon/favicon_service.h" 16 #include "chrome/browser/favicon/favicon_service.h"
16 #include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h" 17 #include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h"
17 #include "chrome/common/cancelable_task_tracker.h"
18 #include "chrome/common/extensions/extension_constants.h" 18 #include "chrome/common/extensions/extension_constants.h"
19 #include "content/public/browser/notification_observer.h" 19 #include "content/public/browser/notification_observer.h"
20 #include "content/public/browser/notification_registrar.h" 20 #include "content/public/browser/notification_registrar.h"
21 #include "content/public/browser/web_ui_message_handler.h" 21 #include "content/public/browser/web_ui_message_handler.h"
22 #include "extensions/common/extension.h" 22 #include "extensions/common/extension.h"
23 #include "sync/api/string_ordinal.h" 23 #include "sync/api/string_ordinal.h"
24 24
25 class ExtensionEnableFlow; 25 class ExtensionEnableFlow;
26 class ExtensionService; 26 class ExtensionService;
27 class PrefChangeRegistrar; 27 class PrefChangeRegistrar;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 // True if we have executed HandleGetApps() at least once. 183 // True if we have executed HandleGetApps() at least once.
184 bool has_loaded_apps_; 184 bool has_loaded_apps_;
185 185
186 // The ID of the app to be highlighted on the NTP (i.e. shown on the page 186 // The ID of the app to be highlighted on the NTP (i.e. shown on the page
187 // and pulsed). This is done for new installs. The actual higlighting occurs 187 // and pulsed). This is done for new installs. The actual higlighting occurs
188 // 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).
189 std::string highlight_app_id_; 189 std::string highlight_app_id_;
190 190
191 // Used for favicon loading tasks. 191 // Used for favicon loading tasks.
192 CancelableTaskTracker cancelable_task_tracker_; 192 base::CancelableTaskTracker cancelable_task_tracker_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler); 194 DISALLOW_COPY_AND_ASSIGN(AppLauncherHandler);
195 }; 195 };
196 196
197 #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/ui/webui/ntp/android/bookmarks_handler.h ('k') | chrome/browser/ui/webui/ntp/favicon_webui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698