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

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

Issue 2695823008: Add missing #include around sequenced_worker_pool.h in //chrome (Closed)
Patch Set: sync_websocket_impl & wizard_controller Created 3 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 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/webrtc/desktop_media_list_ash.h" 5 #include "chrome/browser/media/webrtc/desktop_media_list_ash.h"
6 6
7 #include "ash/public/cpp/shell_window_ids.h" 7 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "base/threading/sequenced_worker_pool.h"
9 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
10 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
11 #include "media/base/video_util.h" 12 #include "media/base/video_util.h"
12 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/gfx/image/image.h" 14 #include "ui/gfx/image/image.h"
14 #include "ui/snapshot/snapshot.h" 15 #include "ui/snapshot/snapshot.h"
15 16
16 using content::BrowserThread; 17 using content::BrowserThread;
17 18
18 namespace { 19 namespace {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 134
134 --pending_window_capture_requests_; 135 --pending_window_capture_requests_;
135 DCHECK_GE(pending_window_capture_requests_, 0); 136 DCHECK_GE(pending_window_capture_requests_, 0);
136 137
137 if (!pending_window_capture_requests_) { 138 if (!pending_window_capture_requests_) {
138 // Once we've finished capturing all windows post a task for the next list 139 // Once we've finished capturing all windows post a task for the next list
139 // update. 140 // update.
140 ScheduleNextRefresh(); 141 ScheduleNextRefresh();
141 } 142 }
142 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698