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

Side by Side Diff: content/public/test/content_test_suite_base.cc

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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
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/public/test/content_test_suite_base.h" 5 #include "content/public/test/content_test_suite_base.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/metrics/statistics_recorder.h" 10 #include "base/metrics/statistics_recorder.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "ui/ozone/public/ozone_platform.h" 46 #include "ui/ozone/public/ozone_platform.h"
47 #endif 47 #endif
48 48
49 49
50 namespace content { 50 namespace content {
51 51
52 class ContentTestSuiteBaseListener : public testing::EmptyTestEventListener { 52 class ContentTestSuiteBaseListener : public testing::EmptyTestEventListener {
53 public: 53 public:
54 ContentTestSuiteBaseListener() { 54 ContentTestSuiteBaseListener() {
55 } 55 }
56 virtual void OnTestEnd(const testing::TestInfo& test_info) override { 56 void OnTestEnd(const testing::TestInfo& test_info) override {
57 BrowserThreadImpl::FlushThreadPoolHelperForTesting(); 57 BrowserThreadImpl::FlushThreadPoolHelperForTesting();
58 } 58 }
59 private: 59 private:
60 DISALLOW_COPY_AND_ASSIGN(ContentTestSuiteBaseListener); 60 DISALLOW_COPY_AND_ASSIGN(ContentTestSuiteBaseListener);
61 }; 61 };
62 62
63 ContentTestSuiteBase::ContentTestSuiteBase(int argc, char** argv) 63 ContentTestSuiteBase::ContentTestSuiteBase(int argc, char** argv)
64 : base::TestSuite(argc, argv) { 64 : base::TestSuite(argc, argv) {
65 } 65 }
66 66
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 #if !defined(OS_IOS) 111 #if !defined(OS_IOS)
112 UtilityProcessHostImpl::RegisterUtilityMainThreadFactory( 112 UtilityProcessHostImpl::RegisterUtilityMainThreadFactory(
113 CreateInProcessUtilityThread); 113 CreateInProcessUtilityThread);
114 RenderProcessHostImpl::RegisterRendererMainThreadFactory( 114 RenderProcessHostImpl::RegisterRendererMainThreadFactory(
115 CreateInProcessRendererThread); 115 CreateInProcessRendererThread);
116 GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThread); 116 GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThread);
117 #endif 117 #endif
118 } 118 }
119 119
120 } // namespace content 120 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/platform_event_observer.h ('k') | content/public/test/mock_download_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698