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

Side by Side Diff: chromeos/display/output_configurator_unittest.cc

Issue 16739011: Use a direct include of strings headers in chromeos/. (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 | « chromeos/disks/mock_disk_mount_manager.cc ('k') | chromeos/display/output_util.cc » ('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) 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 "chromeos/display/output_configurator.h" 5 #include "chromeos/display/output_configurator.h"
6 6
7 #include <cstdarg> 7 #include <cstdarg>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 namespace chromeos { 18 namespace chromeos {
19 19
20 namespace { 20 namespace {
21 21
22 // Strings returned by TestDelegate::GetActionsAndClear() to describe various 22 // Strings returned by TestDelegate::GetActionsAndClear() to describe various
23 // actions that were performed. 23 // actions that were performed.
24 const char kInitXRandR[] = "init"; 24 const char kInitXRandR[] = "init";
25 const char kUpdateXRandR[] = "update"; 25 const char kUpdateXRandR[] = "update";
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 test_api_.SendOutputChangeEvents(true); 749 test_api_.SendOutputChangeEvents(true);
750 EXPECT_EQ(STATE_DUAL_EXTENDED, configurator_.output_state()); 750 EXPECT_EQ(STATE_DUAL_EXTENDED, configurator_.output_state());
751 751
752 outputs_[0].has_display_id = true; 752 outputs_[0].has_display_id = true;
753 UpdateOutputs(2); 753 UpdateOutputs(2);
754 test_api_.SendOutputChangeEvents(true); 754 test_api_.SendOutputChangeEvents(true);
755 EXPECT_EQ(STATE_DUAL_MIRROR, configurator_.output_state()); 755 EXPECT_EQ(STATE_DUAL_MIRROR, configurator_.output_state());
756 } 756 }
757 757
758 } // namespace chromeos 758 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/disks/mock_disk_mount_manager.cc ('k') | chromeos/display/output_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698