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

Side by Side Diff: media/audio/win/audio_output_win_unittest.cc

Issue 449048: Move some XDG code from chrome to base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux base_unittest Created 11 years 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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 <windows.h> 5 #include <windows.h>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h"
10 #include "media/audio/audio_output.h" 11 #include "media/audio/audio_output.h"
11 #include "media/audio/simple_sources.h" 12 #include "media/audio/simple_sources.h"
12 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 using ::testing::_; 16 using ::testing::_;
16 using ::testing::AnyNumber; 17 using ::testing::AnyNumber;
17 using ::testing::DoAll; 18 using ::testing::DoAll;
18 using ::testing::InSequence; 19 using ::testing::InSequence;
19 using ::testing::NiceMock; 20 using ::testing::NiceMock;
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 .WillOnce(Return(0)); 557 .WillOnce(Return(0));
557 EXPECT_CALL(source, OnMoreData(oas, NotNull(), bytes_100_ms, 0)) 558 EXPECT_CALL(source, OnMoreData(oas, NotNull(), bytes_100_ms, 0))
558 .Times(AnyNumber()) 559 .Times(AnyNumber())
559 .WillRepeatedly(Return(0)); 560 .WillRepeatedly(Return(0));
560 561
561 oas->Start(&source); 562 oas->Start(&source);
562 ::Sleep(500); 563 ::Sleep(500);
563 oas->Stop(); 564 oas->Stop();
564 oas->Close(); 565 oas->Close();
565 } 566 }
OLDNEW
« no previous file with comments | « chrome/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc ('k') | media/base/yuv_convert_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698