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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl_private_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
OLDNEW
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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
6 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
7 #include "base/run_loop.h" 10 #include "base/run_loop.h"
8 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "build/build_config.h"
9 #include "content/browser/gpu/gpu_data_manager_impl_private.h" 13 #include "content/browser/gpu/gpu_data_manager_impl_private.h"
10 #include "content/public/browser/gpu_data_manager_observer.h" 14 #include "content/public/browser/gpu_data_manager_observer.h"
11 #include "gpu/config/gpu_feature_type.h" 15 #include "gpu/config/gpu_feature_type.h"
12 #include "gpu/config/gpu_info.h" 16 #include "gpu/config/gpu_info.h"
13 #include "gpu/config/gpu_switches.h" 17 #include "gpu/config/gpu_switches.h"
14 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
15 #include "url/gurl.h" 19 #include "url/gurl.h"
16 20
17 #if defined(OS_WIN) 21 #if defined(OS_WIN)
18 #include "base/win/windows_version.h" 22 #include "base/win/windows_version.h"
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 EXPECT_TRUE(manager->UpdateActiveGpu(0x8086, 0x04a1)); 749 EXPECT_TRUE(manager->UpdateActiveGpu(0x8086, 0x04a1));
746 { 750 {
747 base::RunLoop run_loop; 751 base::RunLoop run_loop;
748 run_loop.RunUntilIdle(); 752 run_loop.RunUntilIdle();
749 } 753 }
750 EXPECT_TRUE(observer.gpu_info_updated()); 754 EXPECT_TRUE(observer.gpu_info_updated());
751 EXPECT_EQ(1u, manager->GetBlacklistedFeatureCount()); 755 EXPECT_EQ(1u, manager->GetBlacklistedFeatureCount());
752 } 756 }
753 757
754 } // namespace content 758 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/browser/gpu/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698