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

Side by Side Diff: content/test/unittest_test_suite.cc

Issue 10483003: Move the rest of the content\test headers that are used by embedders to content\public\test. This w… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 "content/test/unittest_test_suite.h" 5 #include "content/public/test/unittest_test_suite.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/test/test_suite.h" 8 #include "base/test/test_suite.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatfo rmSupport.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatfo rmSupport.h"
11 11
12 namespace content {
13
12 // A stubbed out WebKit platform support impl. 14 // A stubbed out WebKit platform support impl.
13 class UnitTestTestSuite::UnitTestWebKitPlatformSupport 15 class UnitTestTestSuite::UnitTestWebKitPlatformSupport
14 : public WebKit::WebKitPlatformSupport { 16 : public WebKit::WebKitPlatformSupport {
15 public: 17 public:
16 UnitTestWebKitPlatformSupport() {} 18 UnitTestWebKitPlatformSupport() {}
17 virtual ~UnitTestWebKitPlatformSupport() {} 19 virtual ~UnitTestWebKitPlatformSupport() {}
18 virtual void cryptographicallyRandomValues(unsigned char* buffer, 20 virtual void cryptographicallyRandomValues(unsigned char* buffer,
19 size_t length) OVERRIDE { 21 size_t length) OVERRIDE {
20 memset(buffer, 0, length); 22 memset(buffer, 0, length);
21 } 23 }
(...skipping 12 matching lines...) Expand all
34 WebKit::initialize(webkit_platform_support_.get()); 36 WebKit::initialize(webkit_platform_support_.get());
35 } 37 }
36 38
37 UnitTestTestSuite::~UnitTestTestSuite() { 39 UnitTestTestSuite::~UnitTestTestSuite() {
38 WebKit::shutdown(); 40 WebKit::shutdown();
39 } 41 }
40 42
41 int UnitTestTestSuite::Run() { 43 int UnitTestTestSuite::Run() {
42 return test_suite_->Run(); 44 return test_suite_->Run();
43 } 45 }
46
47 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698