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

Side by Side Diff: content/browser/loader/loader_test_service_context.h

Issue 1461283002: [DO NOT COMMIT] mojo datapipe performance measurement Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « no previous file | content/browser/loader/loader_test_service_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_LOADER_LOADER_SERVICE_CONTEXT_H_
6 #define CONTENT_BROWSER_LOADER_LOADER_SERVICE_CONTEXT_H_
7
8 #include <vector>
9
10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "content/browser/loader/loader_test_service_impl.h"
13
14 namespace content {
15
16 class LoaderTestServiceContext final {
17 public:
18 LoaderTestServiceContext();
19 ~LoaderTestServiceContext();
20
21 void CreateService(mojo::InterfaceRequest<LoaderTestService> request);
22 // Called when a service has a connection error. After this call, it is no
23 // longer safe to access |service|.
24 void ServiceHadConnectionError(LoaderTestService* service);
25
26 std::vector<scoped_ptr<LoaderTestServiceImpl>> services_;
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_LOADER_LOADER_SERVICE_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/loader/loader_test_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698