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

Side by Side Diff: chrome/browser/media/desktop_media_list_ash.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/media/desktop_media_list_ash.h" 5 #include "chrome/browser/media/desktop_media_list_ash.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 10
9 #include "ash/shell.h" 11 #include "ash/shell.h"
10 #include "ash/shell_window_ids.h" 12 #include "ash/shell_window_ids.h"
11 #include "base/hash.h" 13 #include "base/hash.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/sequenced_worker_pool.h" 16 #include "base/threading/sequenced_worker_pool.h"
15 #include "chrome/browser/media/desktop_media_list_observer.h" 17 #include "chrome/browser/media/desktop_media_list_observer.h"
16 #include "chrome/grit/generated_resources.h" 18 #include "chrome/grit/generated_resources.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 if (!pending_window_capture_requests_) { 247 if (!pending_window_capture_requests_) {
246 // Once we've finished capturing all windows post a task for the next list 248 // Once we've finished capturing all windows post a task for the next list
247 // update. 249 // update.
248 BrowserThread::PostDelayedTask( 250 BrowserThread::PostDelayedTask(
249 BrowserThread::UI, FROM_HERE, 251 BrowserThread::UI, FROM_HERE,
250 base::Bind(&DesktopMediaListAsh::Refresh, 252 base::Bind(&DesktopMediaListAsh::Refresh,
251 weak_factory_.GetWeakPtr()), 253 weak_factory_.GetWeakPtr()),
252 update_period_); 254 update_period_);
253 } 255 }
254 } 256 }
OLDNEW
« no previous file with comments | « chrome/browser/media/desktop_media_list_ash.h ('k') | chrome/browser/media/desktop_media_list_ash_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698