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

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: copy paste the right function 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 {
33 class NotificationRegistrar; 35 class NotificationRegistrar;
Cait (Slow) 2015/02/06 16:47:22 Not needed anymore
noms (inactive) 2015/02/12 21:46:02 The jumplist uses it for the browser notifications
34 } 36 }
35 37
36 class PageUsageData; 38 class PageUsageData;
37 class PrefChangeRegistrar; 39 class PrefChangeRegistrar;
38 class Profile; 40 class Profile;
39 41
40 // A class which implements an application JumpList. 42 // A class which implements an application JumpList.
41 // This class encapsulates operations required for updating an application 43 // This class encapsulates operations required for updating an application
42 // JumpList: 44 // JumpList:
43 // * Retrieving "Most Visited" pages from HistoryService; 45 // * Retrieving "Most Visited" pages from HistoryService;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 scoped_ptr<AvatarMenu> avatar_menu_; 202 scoped_ptr<AvatarMenu> avatar_menu_;
201 203
202 // Whether the experiment that is replacing "Most Visited" category with a 204 // Whether the experiment that is replacing "Most Visited" category with a
203 // "People" category is enabled. 205 // "People" category is enabled.
204 bool use_profiles_category_; 206 bool use_profiles_category_;
205 207
206 DISALLOW_COPY_AND_ASSIGN(JumpList); 208 DISALLOW_COPY_AND_ASSIGN(JumpList);
207 }; 209 };
208 210
209 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ 211 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698