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

Side by Side Diff: chrome/browser/jumplist_win.h

Issue 895803003: [Profiles] Remove the NotificationService from the ProfileInfoCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: maybe fix NTPLoginHandler tests Created 5 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_JUMPLIST_WIN_H_ 5 #ifndef CHROME_BROWSER_JUMPLIST_WIN_H_
6 #define CHROME_BROWSER_JUMPLIST_WIN_H_ 6 #define CHROME_BROWSER_JUMPLIST_WIN_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/task/cancelable_task_tracker.h" 16 #include "base/task/cancelable_task_tracker.h"
17 #include "chrome/browser/history/history_service.h" 17 #include "chrome/browser/history/history_service.h"
18 #include "chrome/browser/jumplist_updater_win.h" 18 #include "chrome/browser/jumplist_updater_win.h"
19 #include "chrome/browser/prefs/incognito_mode_prefs.h" 19 #include "chrome/browser/prefs/incognito_mode_prefs.h"
20 #include "chrome/browser/profiles/avatar_menu.h" 20 #include "chrome/browser/profiles/avatar_menu.h"
21 #include "chrome/browser/profiles/avatar_menu_observer.h" 21 #include "chrome/browser/profiles/avatar_menu_observer.h"
22 #include "chrome/browser/sessions/tab_restore_service.h" 22 #include "chrome/browser/sessions/tab_restore_service.h"
23 #include "chrome/browser/sessions/tab_restore_service_observer.h" 23 #include "chrome/browser/sessions/tab_restore_service_observer.h"
24 #include "components/history/core/browser/history_types.h" 24 #include "components/history/core/browser/history_types.h"
25 #include "components/history/core/browser/top_sites_observer.h" 25 #include "components/history/core/browser/top_sites_observer.h"
26 #include "content/public/browser/browser_thread.h" 26 #include "content/public/browser/browser_thread.h"
27 #include "content/public/browser/notification_observer.h"
28 #include "content/public/browser/notification_registrar.h"
27 29
28 namespace chrome { 30 namespace chrome {
29 struct FaviconImageResult; 31 struct FaviconImageResult;
30 } 32 }
31 33
32 namespace content { 34 namespace content {
Cait (Slow) 2015/02/11 16:24:30 nit: no need to forward declare this now that the
noms (inactive) 2015/02/17 15:37:25 Done.
33 class NotificationRegistrar; 35 class NotificationRegistrar;
34 } 36 }
35 37
36 class PrefChangeRegistrar; 38 class PrefChangeRegistrar;
37 class Profile; 39 class Profile;
38 40
39 // A class which implements an application JumpList. 41 // A class which implements an application JumpList.
40 // This class encapsulates operations required for updating an application 42 // This class encapsulates operations required for updating an application
41 // JumpList: 43 // JumpList:
42 // * Retrieving "Most Visited" pages from HistoryService; 44 // * Retrieving "Most Visited" pages from HistoryService;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 scoped_ptr<AvatarMenu> avatar_menu_; 200 scoped_ptr<AvatarMenu> avatar_menu_;
199 201
200 // Whether the experiment that is replacing "Most Visited" category with a 202 // Whether the experiment that is replacing "Most Visited" category with a
201 // "People" category is enabled. 203 // "People" category is enabled.
202 bool use_profiles_category_; 204 bool use_profiles_category_;
203 205
204 DISALLOW_COPY_AND_ASSIGN(JumpList); 206 DISALLOW_COPY_AND_ASSIGN(JumpList);
205 }; 207 };
206 208
207 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ 209 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698