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

Side by Side Diff: app/clipboard/clipboard_unittest.cc

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 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
« no previous file with comments | « app/animation_container_unittest.cc ('k') | app/slide_animation_unittest.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) 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/clipboard/clipboard.h" 9 #include "app/clipboard/clipboard.h"
10 #include "app/clipboard/scoped_clipboard_writer.h" 10 #include "app/clipboard/scoped_clipboard_writer.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/scoped_ptr.h"
12 #include "base/string_util.h" 13 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
14 #include "gfx/size.h" 15 #include "gfx/size.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
17 18
18 #if defined(OS_WIN) 19 #if defined(OS_WIN)
19 #include "app/clipboard/clipboard_util_win.h" 20 #include "app/clipboard/clipboard_util_win.h"
20 #include "base/message_loop.h" 21 #include "base/message_loop.h"
21 #endif 22 #endif
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 writer.WriteURL(UTF8ToUTF16("foo")); 400 writer.WriteURL(UTF8ToUTF16("foo"));
400 writer.WriteHTML(UTF8ToUTF16("foo"), "bar"); 401 writer.WriteHTML(UTF8ToUTF16("foo"), "bar");
401 writer.WriteBookmark(UTF8ToUTF16("foo"), "bar"); 402 writer.WriteBookmark(UTF8ToUTF16("foo"), "bar");
402 writer.WriteHyperlink(ASCIIToUTF16("foo"), "bar"); 403 writer.WriteHyperlink(ASCIIToUTF16("foo"), "bar");
403 writer.WriteWebSmartPaste(); 404 writer.WriteWebSmartPaste();
404 // Left out: WriteFile, WriteFiles, WriteBitmapFromPixels, WritePickledData. 405 // Left out: WriteFile, WriteFiles, WriteBitmapFromPixels, WritePickledData.
405 } 406 }
406 407
407 // Passes if we don't crash. 408 // Passes if we don't crash.
408 } 409 }
OLDNEW
« no previous file with comments | « app/animation_container_unittest.cc ('k') | app/slide_animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698