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

Side by Side Diff: base/win/win_util_unittest.cc

Issue 16320009: Use a direct include of strings headers in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/win/win_util.cc ('k') | base/win/wrapped_window_proc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/win/win_util.h" 9 #include "base/win/win_util.h"
10 #include "base/win/windows_version.h" 10 #include "base/win/windows_version.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace base { 13 namespace base {
14 namespace win { 14 namespace win {
15 15
16 namespace { 16 namespace {
17 17
18 // Saves the current thread's locale ID when initialized, and restores it when 18 // Saves the current thread's locale ID when initialized, and restores it when
(...skipping 30 matching lines...) Expand all
49 TEST(BaseWinUtilTest, TestGetNonClientMetrics) { 49 TEST(BaseWinUtilTest, TestGetNonClientMetrics) {
50 NONCLIENTMETRICS metrics = {0}; 50 NONCLIENTMETRICS metrics = {0};
51 GetNonClientMetrics(&metrics); 51 GetNonClientMetrics(&metrics);
52 EXPECT_TRUE(metrics.cbSize > 0); 52 EXPECT_TRUE(metrics.cbSize > 0);
53 EXPECT_TRUE(metrics.iScrollWidth > 0); 53 EXPECT_TRUE(metrics.iScrollWidth > 0);
54 EXPECT_TRUE(metrics.iScrollHeight > 0); 54 EXPECT_TRUE(metrics.iScrollHeight > 0);
55 } 55 }
56 56
57 } // namespace win 57 } // namespace win
58 } // namespace base 58 } // namespace base
OLDNEW
« no previous file with comments | « base/win/win_util.cc ('k') | base/win/wrapped_window_proc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698