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

Side by Side Diff: content/browser/device_orientation/provider_unittest.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) 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 #include <queue> 5 #include <queue>
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/synchronization/lock.h" 8 #include "base/synchronization/lock.h"
9 #include "base/task.h"
10 #include "content/browser/device_orientation/data_fetcher.h" 9 #include "content/browser/device_orientation/data_fetcher.h"
11 #include "content/browser/device_orientation/orientation.h" 10 #include "content/browser/device_orientation/orientation.h"
12 #include "content/browser/device_orientation/provider.h" 11 #include "content/browser/device_orientation/provider.h"
13 #include "content/browser/device_orientation/provider_impl.h" 12 #include "content/browser/device_orientation/provider_impl.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 14
16 namespace device_orientation { 15 namespace device_orientation {
17 namespace { 16 namespace {
18 17
19 // Class for checking expectations on orientation updates from the Provider. 18 // Class for checking expectations on orientation updates from the Provider.
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 checker_b->AddExpectation(third_orientation); 380 checker_b->AddExpectation(third_orientation);
382 MessageLoop::current()->Run(); 381 MessageLoop::current()->Run();
383 382
384 provider_->RemoveObserver(checker_a.get()); 383 provider_->RemoveObserver(checker_a.get());
385 provider_->RemoveObserver(checker_b.get()); 384 provider_->RemoveObserver(checker_b.get());
386 } 385 }
387 386
388 } // namespace 387 } // namespace
389 388
390 } // namespace device_orientation 389 } // namespace device_orientation
OLDNEW
« no previous file with comments | « content/browser/browser_thread_unittest.cc ('k') | content/browser/download/download_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698