OLD | NEW |
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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/files/file_path.h" | 6 #include "base/files/file_path.h" |
7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
8 #include "base/scoped_native_library.h" | 8 #include "base/scoped_native_library.h" |
| 9 #include "build/build_config.h" |
9 #include "remoting/base/auto_thread.h" | 10 #include "remoting/base/auto_thread.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
11 | 12 |
12 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
13 #include <objbase.h> | 14 #include <objbase.h> |
14 #include "base/win/windows_version.h" | 15 #include "base/win/windows_version.h" |
15 #endif | 16 #endif |
16 | 17 |
17 namespace { | 18 namespace { |
18 | 19 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Whether the thread is the "main" STA apartment depends upon previous | 193 // Whether the thread is the "main" STA apartment depends upon previous |
193 // COM activity in this test process, so allow both types here. | 194 // COM activity in this test process, so allow both types here. |
194 EXPECT_TRUE(apt_type == APTTYPE_MAINSTA || apt_type == APTTYPE_STA); | 195 EXPECT_TRUE(apt_type == APTTYPE_MAINSTA || apt_type == APTTYPE_STA); |
195 } else { | 196 } else { |
196 EXPECT_EQ(E_NOTIMPL, hresult); | 197 EXPECT_EQ(E_NOTIMPL, hresult); |
197 } | 198 } |
198 } | 199 } |
199 #endif // defined(OS_WIN) | 200 #endif // defined(OS_WIN) |
200 | 201 |
201 } // namespace remoting | 202 } // namespace remoting |
OLD | NEW |