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

Side by Side Diff: chrome/browser/printing/printing_layout_uitest.cc

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/gfx/gdi_util.h" 7 #include "base/gfx/gdi_util.h"
8 #include "base/gfx/platform_device_win.h" 8 #include "base/gfx/platform_device_win.h"
9 #include "base/gfx/png_decoder.h" 9 #include "base/gfx/png_decoder.h"
10 #include "base/gfx/png_encoder.h" 10 #include "base/gfx/png_encoder.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "base/win_util.h" 12 #include "base/win_util.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/gfx/emf.h" 14 #include "chrome/common/gfx/emf.h"
15 #include "chrome/test/automation/browser_proxy.h" 15 #include "chrome/test/automation/browser_proxy.h"
16 #include "chrome/test/automation/tab_proxy.h" 16 #include "chrome/test/automation/tab_proxy.h"
17 #include "chrome/test/automation/window_proxy.h" 17 #include "chrome/test/automation/window_proxy.h"
18 #include "chrome/test/ui/ui_test.h" 18 #include "chrome/test/ui/ui_test.h"
19 #include "chrome/browser/printing/printing_test.h" 19 #include "chrome/browser/printing/printing_test.h"
20 #include "net/url_request/url_request_unittest.h" 20 #include "net/url_request/url_request_unittest.h"
21 21
22 using base::Time;
23 using base::TimeDelta;
24
22 namespace { 25 namespace {
23 26
24 const wchar_t* const kGenerateSwitch = L"print-layout-generate"; 27 const wchar_t* const kGenerateSwitch = L"print-layout-generate";
25 const wchar_t kDocRoot[] = L"chrome/test/data"; 28 const wchar_t kDocRoot[] = L"chrome/test/data";
26 29
27 // Lightweight raw-bitmap management. The image, once initialized, is immuable. 30 // Lightweight raw-bitmap management. The image, once initialized, is immuable.
28 // It is mainly used for comparison. 31 // It is mainly used for comparison.
29 class Image { 32 class Image {
30 public: 33 public:
31 // Creates the image from the given filename on disk. 34 // Creates the image from the given filename on disk.
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 url = server.TestServerPage("files/printing/test1.html"); 619 url = server.TestServerPage("files/printing/test1.html");
617 EXPECT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, 620 EXPECT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS,
618 tab_proxy->NavigateToURL(url)); 621 tab_proxy->NavigateToURL(url));
619 } 622 }
620 CloseBrowserAndServer(); 623 CloseBrowserAndServer();
621 624
622 EXPECT_EQ(0., CompareWithResult(L"iframe")) 625 EXPECT_EQ(0., CompareWithResult(L"iframe"))
623 << L"iframe"; 626 << L"iframe";
624 } 627 }
625 628
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698