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

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

Issue 2749653002: allow unit_tests to re-create service manager context. (Closed)
Patch Set: comment updated Created 3 years, 9 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 | « content/browser/child_process_launcher_helper_win.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/test_service_manager_context.h" 5 #include "content/public/test/test_service_manager_context.h"
6 6
7 #include "content/browser/child_process_launcher.h"
7 #include "content/browser/service_manager/service_manager_context.h" 8 #include "content/browser/service_manager/service_manager_context.h"
8 9
9 namespace content { 10 namespace content {
10 11
11 TestServiceManagerContext::TestServiceManagerContext() 12 TestServiceManagerContext::TestServiceManagerContext()
12 : context_(new ServiceManagerContext) {} 13 : context_(new ServiceManagerContext) {}
13 14
14 TestServiceManagerContext::~TestServiceManagerContext() {} 15 TestServiceManagerContext::~TestServiceManagerContext() {
16 ChildProcessLauncher::ResetRegisteredFilesForTesting();
17 }
15 18
16 } // namespace content 19 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher_helper_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698