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

Side by Side Diff: chrome/browser/ui/omnibox/omnibox_view_unittest.cc

Issue 16629005: Use a direct include of strings headers in chrome/browser/ui/b*-p*/. (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
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 "chrome/browser/ui/omnibox/omnibox_view.h" 5 #include "chrome/browser/ui/omnibox/omnibox_view.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "testing/platform_test.h" 11 #include "testing/platform_test.h"
12 #include "ui/base/clipboard/clipboard.h" 12 #include "ui/base/clipboard/clipboard.h"
13 #include "ui/base/clipboard/scoped_clipboard_writer.h" 13 #include "ui/base/clipboard/scoped_clipboard_writer.h"
14 14
15 namespace { 15 namespace {
16 16
17 class OmniboxViewTest : public PlatformTest { 17 class OmniboxViewTest : public PlatformTest {
18 public: 18 public:
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ui::Clipboard::BUFFER_STANDARD); 131 ui::Clipboard::BUFFER_STANDARD);
132 clipboard_writer.WriteText(kWrappedAddress); 132 clipboard_writer.WriteText(kWrappedAddress);
133 } 133 }
134 134
135 const string16 kFixedAddress(ASCIIToUTF16( 135 const string16 kFixedAddress(ASCIIToUTF16(
136 "1600 Amphitheatre Parkway Mountain View, CA")); 136 "1600 Amphitheatre Parkway Mountain View, CA"));
137 EXPECT_EQ(kFixedAddress, OmniboxView::GetClipboardText()); 137 EXPECT_EQ(kFixedAddress, OmniboxView::GetClipboardText());
138 } 138 }
139 139
140 } // namespace 140 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ('k') | chrome/browser/ui/panels/native_panel_stack_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698