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

Side by Side Diff: app/os_exchange_data_win_unittest.cc

Issue 260003: Move the clipboard stuff out of base and into app/clipboard. I renamed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « app/os_exchange_data_provider_win.cc ('k') | base/base.gyp » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "app/clipboard/clipboard_util_win.h"
5 #include "app/os_exchange_data.h" 6 #include "app/os_exchange_data.h"
6 #include "app/os_exchange_data_provider_win.h" 7 #include "app/os_exchange_data_provider_win.h"
7 #include "base/clipboard_util.h"
8 #include "base/pickle.h" 8 #include "base/pickle.h"
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_handle.h" 10 #include "base/scoped_handle.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 typedef testing::Test OSExchangeDataTest; 16 typedef testing::Test OSExchangeDataTest;
17 17
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 OSExchangeData data; 363 OSExchangeData data;
364 data.SetString(L"http://google.com"); 364 data.SetString(L"http://google.com");
365 365
366 OSExchangeData data2(CloneProvider(data)); 366 OSExchangeData data2(CloneProvider(data));
367 ASSERT_TRUE(data2.HasURL()); 367 ASSERT_TRUE(data2.HasURL());
368 GURL read_url; 368 GURL read_url;
369 std::wstring title; 369 std::wstring title;
370 EXPECT_TRUE(data2.GetURLAndTitle(&read_url, &title)); 370 EXPECT_TRUE(data2.GetURLAndTitle(&read_url, &title));
371 EXPECT_EQ(GURL("http://google.com"), read_url); 371 EXPECT_EQ(GURL("http://google.com"), read_url);
372 } 372 }
OLDNEW
« no previous file with comments | « app/os_exchange_data_provider_win.cc ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698