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

Side by Side Diff: chrome_frame/task_marshaller.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_frame/task_marshaller.h" 5 #include "chrome_frame/task_marshaller.h"
6 #include "base/task.h" 6
7 #include "base/callback.h"
8 #include "base/logging.h"
7 9
8 TaskMarshallerThroughMessageQueue::TaskMarshallerThroughMessageQueue() 10 TaskMarshallerThroughMessageQueue::TaskMarshallerThroughMessageQueue()
9 : wnd_(NULL), 11 : wnd_(NULL),
10 msg_(0xFFFF) { 12 msg_(0xFFFF) {
11 } 13 }
12 14
13 TaskMarshallerThroughMessageQueue::~TaskMarshallerThroughMessageQueue() { 15 TaskMarshallerThroughMessageQueue::~TaskMarshallerThroughMessageQueue() {
14 ClearTasks(); 16 ClearTasks();
15 } 17 }
16 18
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 base::AutoLock lock(lock_); 127 base::AutoLock lock(lock_);
126 DVLOG_IF(1, !pending_tasks_.empty()) << "Destroying " 128 DVLOG_IF(1, !pending_tasks_.empty()) << "Destroying "
127 << pending_tasks_.size() 129 << pending_tasks_.size()
128 << " pending tasks."; 130 << " pending tasks.";
129 while (!pending_tasks_.empty()) 131 while (!pending_tasks_.empty())
130 pending_tasks_.pop(); 132 pending_tasks_.pop();
131 133
132 while (!delayed_tasks_.empty()) 134 while (!delayed_tasks_.empty())
133 delayed_tasks_.pop(); 135 delayed_tasks_.pop();
134 } 136 }
OLDNEW
« no previous file with comments | « chrome_frame/ready_mode/internal/registry_ready_mode_state.cc ('k') | chrome_frame/test/html_util_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698