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

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: cait nit 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 {
33 class NotificationRegistrar;
34 }
35
36 class PrefChangeRegistrar; 34 class PrefChangeRegistrar;
37 class Profile; 35 class Profile;
38 36
39 // A class which implements an application JumpList. 37 // A class which implements an application JumpList.
40 // This class encapsulates operations required for updating an application 38 // This class encapsulates operations required for updating an application
41 // JumpList: 39 // JumpList:
42 // * Retrieving "Most Visited" pages from HistoryService; 40 // * Retrieving "Most Visited" pages from HistoryService;
43 // * Retrieving strings from the application resource; 41 // * Retrieving strings from the application resource;
44 // * Adding COM objects to JumpList, etc. 42 // * Adding COM objects to JumpList, etc.
45 // 43 //
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 scoped_ptr<AvatarMenu> avatar_menu_; 196 scoped_ptr<AvatarMenu> avatar_menu_;
199 197
200 // Whether the experiment that is replacing "Most Visited" category with a 198 // Whether the experiment that is replacing "Most Visited" category with a
201 // "People" category is enabled. 199 // "People" category is enabled.
202 bool use_profiles_category_; 200 bool use_profiles_category_;
203 201
204 DISALLOW_COPY_AND_ASSIGN(JumpList); 202 DISALLOW_COPY_AND_ASSIGN(JumpList);
205 }; 203 };
206 204
207 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_ 205 #endif // CHROME_BROWSER_JUMPLIST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698