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

Side by Side Diff: chrome/browser/win/jumplist.h

Issue 2811003002: Experiment with USER_VISIBLE priority for update_jumplisticons_task_runner_ (Closed)
Patch Set: Update function names temporarily for UMA metric tracking. Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/win/jumplist.cc » ('j') | chrome/browser/win/jumplist.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WIN_JUMPLIST_H_ 5 #ifndef CHROME_BROWSER_WIN_JUMPLIST_H_
6 #define CHROME_BROWSER_WIN_JUMPLIST_H_ 6 #define CHROME_BROWSER_WIN_JUMPLIST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // the list. 145 // the list.
146 void OnMostVisitedURLsAvailable( 146 void OnMostVisitedURLsAvailable(
147 const history::MostVisitedURLList& data); 147 const history::MostVisitedURLList& data);
148 148
149 // Callback for changes to the incognito mode availability pref. 149 // Callback for changes to the incognito mode availability pref.
150 void OnIncognitoAvailabilityChanged(); 150 void OnIncognitoAvailabilityChanged();
151 151
152 // Helper for RunUpdate() that determines its parameters. 152 // Helper for RunUpdate() that determines its parameters.
153 void PostRunUpdate(); 153 void PostRunUpdate();
154 154
155 // Called on a timer to invoke RunUpdateJumpList() after requests storms 155 // Called on a timer to invoke RunUpdateJumpListUserVisiblePriority() after
156 // have subsided. 156 // requests storms have subsided.
157 void DeferredRunUpdate(); 157 void DeferredRunUpdate();
158 158
159 // history::TopSitesObserver implementation. 159 // history::TopSitesObserver implementation.
160 void TopSitesLoaded(history::TopSites* top_sites) override; 160 void TopSitesLoaded(history::TopSites* top_sites) override;
161 void TopSitesChanged(history::TopSites* top_sites, 161 void TopSitesChanged(history::TopSites* top_sites,
162 ChangeReason change_reason) override; 162 ChangeReason change_reason) override;
163 163
164 // Tracks FaviconService tasks. 164 // Tracks FaviconService tasks.
165 base::CancelableTaskTracker cancelable_task_tracker_; 165 base::CancelableTaskTracker cancelable_task_tracker_;
166 166
(...skipping 25 matching lines...) Expand all
192 // A task runner running tasks to delete JumpListIconsOld directory. 192 // A task runner running tasks to delete JumpListIconsOld directory.
193 scoped_refptr<base::SequencedTaskRunner> delete_jumplisticonsold_task_runner_; 193 scoped_refptr<base::SequencedTaskRunner> delete_jumplisticonsold_task_runner_;
194 194
195 // For callbacks may be run after destruction. 195 // For callbacks may be run after destruction.
196 base::WeakPtrFactory<JumpList> weak_ptr_factory_; 196 base::WeakPtrFactory<JumpList> weak_ptr_factory_;
197 197
198 DISALLOW_COPY_AND_ASSIGN(JumpList); 198 DISALLOW_COPY_AND_ASSIGN(JumpList);
199 }; 199 };
200 200
201 #endif // CHROME_BROWSER_WIN_JUMPLIST_H_ 201 #endif // CHROME_BROWSER_WIN_JUMPLIST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/win/jumplist.cc » ('j') | chrome/browser/win/jumplist.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698