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

Side by Side Diff: chrome/browser/media/desktop_media_list_ash_unittest.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 "ash/test/ash_test_base.h" 7 #include "ash/test/ash_test_base.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/macros.h"
9 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
13 #include "build/build_config.h"
12 #include "chrome/browser/media/desktop_media_list_observer.h" 14 #include "chrome/browser/media/desktop_media_list_observer.h"
13 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
16 18
17 int kThumbnailSize = 100; 19 int kThumbnailSize = 100;
18 20
19 using testing::AtLeast; 21 using testing::AtLeast;
20 using testing::DoDefault; 22 using testing::DoDefault;
21 23
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 .WillOnce(QuitMessageLoop()) 117 .WillOnce(QuitMessageLoop())
116 .WillRepeatedly(DoDefault()); 118 .WillRepeatedly(DoDefault());
117 EXPECT_CALL(observer_, OnSourceRemoved(0)) 119 EXPECT_CALL(observer_, OnSourceRemoved(0))
118 .WillOnce(QuitMessageLoop()); 120 .WillOnce(QuitMessageLoop());
119 121
120 list_->StartUpdating(&observer_); 122 list_->StartUpdating(&observer_);
121 base::MessageLoop::current()->Run(); 123 base::MessageLoop::current()->Run();
122 window.reset(); 124 window.reset();
123 base::MessageLoop::current()->Run(); 125 base::MessageLoop::current()->Run();
124 } 126 }
OLDNEW
« no previous file with comments | « chrome/browser/media/desktop_media_list_ash.cc ('k') | chrome/browser/media/desktop_media_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698