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

Side by Side Diff: content/shell/test_runner/mock_web_speech_recognizer.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/shell/test_runner/mock_web_speech_recognizer.h" 5 #include "content/shell/test_runner/mock_web_speech_recognizer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 312
313 if (task_queue_.empty()) { 313 if (task_queue_.empty()) {
314 task_queue_running_ = false; 314 task_queue_running_ = false;
315 return; 315 return;
316 } 316 }
317 317
318 PostRunTaskFromQueue(); 318 PostRunTaskFromQueue();
319 } 319 }
320 320
321 bool MockWebSpeechRecognizer::HasPendingNewContextTasks() const { 321 bool MockWebSpeechRecognizer::HasPendingNewContextTasks() const {
322 for (const auto& task : task_queue_) { 322 for (auto* task : task_queue_) {
323 if (task->isNewContextTask()) 323 if (task->isNewContextTask())
324 return true; 324 return true;
325 } 325 }
326 return false; 326 return false;
327 } 327 }
328 328
329 } // namespace test_runner 329 } // namespace test_runner
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698