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

Side by Side Diff: content/shell/renderer/webkit_test_runner.cc

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « content/shell/renderer/webkit_test_runner.h ('k') | content/test/layouttest_support.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 "content/shell/renderer/webkit_test_runner.h" 5 #include "content/shell/renderer/webkit_test_runner.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <clocale> 8 #include <clocale>
9 #include <cmath> 9 #include <cmath>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 using blink::WebScriptSource; 80 using blink::WebScriptSource;
81 using blink::WebSize; 81 using blink::WebSize;
82 using blink::WebString; 82 using blink::WebString;
83 using blink::WebURL; 83 using blink::WebURL;
84 using blink::WebURLError; 84 using blink::WebURLError;
85 using blink::WebURLRequest; 85 using blink::WebURLRequest;
86 using blink::WebScreenOrientationType; 86 using blink::WebScreenOrientationType;
87 using blink::WebTestingSupport; 87 using blink::WebTestingSupport;
88 using blink::WebVector; 88 using blink::WebVector;
89 using blink::WebView; 89 using blink::WebView;
90 using WebTestRunner::WebTask;
91 using WebTestRunner::WebTestInterfaces;
92 90
93 namespace content { 91 namespace content {
94 92
95 namespace { 93 namespace {
96 94
97 void InvokeTaskHelper(void* context) { 95 void InvokeTaskHelper(void* context) {
98 WebTask* task = reinterpret_cast<WebTask*>(context); 96 WebTask* task = reinterpret_cast<WebTask*>(context);
99 task->run(); 97 task->run();
100 delete task; 98 delete task;
101 } 99 }
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 752
755 leak_detector_->TryLeakDetection(main_frame); 753 leak_detector_->TryLeakDetection(main_frame);
756 } 754 }
757 755
758 void WebKitTestRunner::ReportLeakDetectionResult( 756 void WebKitTestRunner::ReportLeakDetectionResult(
759 const LeakDetectionResult& report) { 757 const LeakDetectionResult& report) {
760 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report)); 758 Send(new ShellViewHostMsg_LeakDetectionDone(routing_id(), report));
761 } 759 }
762 760
763 } // namespace content 761 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/webkit_test_runner.h ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698