| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/message_loop.h" | 6 #include "base/message_loop.h" |
| 7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "base/time.h" | 8 #include "base/time/time.h" |
| 9 #include "content/browser/gpu/gpu_data_manager_impl_private.h" | 9 #include "content/browser/gpu/gpu_data_manager_impl_private.h" |
| 10 #include "content/public/browser/gpu_data_manager_observer.h" | 10 #include "content/public/browser/gpu_data_manager_observer.h" |
| 11 #include "content/public/common/gpu_feature_type.h" | 11 #include "content/public/common/gpu_feature_type.h" |
| 12 #include "content/public/common/gpu_info.h" | 12 #include "content/public/common/gpu_info.h" |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "gpu/command_buffer/service/gpu_switches.h" | 14 #include "gpu/command_buffer/service/gpu_switches.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 | 16 |
| 17 #define LONG_STRING_CONST(...) #__VA_ARGS__ | 17 #define LONG_STRING_CONST(...) #__VA_ARGS__ |
| 18 | 18 |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 #if defined(OS_LINUX) | 653 #if defined(OS_LINUX) |
| 654 EXPECT_TRUE(manager->GpuAccessAllowed(&reason)); | 654 EXPECT_TRUE(manager->GpuAccessAllowed(&reason)); |
| 655 EXPECT_TRUE(reason.empty()); | 655 EXPECT_TRUE(reason.empty()); |
| 656 #else | 656 #else |
| 657 EXPECT_FALSE(manager->GpuAccessAllowed(&reason)); | 657 EXPECT_FALSE(manager->GpuAccessAllowed(&reason)); |
| 658 EXPECT_FALSE(reason.empty()); | 658 EXPECT_FALSE(reason.empty()); |
| 659 #endif | 659 #endif |
| 660 } | 660 } |
| 661 | 661 |
| 662 } // namespace content | 662 } // namespace content |
| OLD | NEW |