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

Side by Side Diff: components/resource_provider/resource_provider_app.h

Issue 1878893002: Move //mojo/services tracing & catalog to //services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@63move
Patch Set: . Created 4 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
« no previous file with comments | « components/resource_provider/DEPS ('k') | content/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ 5 #ifndef COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_
6 #define COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ 6 #define COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/resource_provider/public/interfaces/resource_provider.mojom .h" 11 #include "components/resource_provider/public/interfaces/resource_provider.mojom .h"
12 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
13 #include "mojo/public/cpp/bindings/binding_set.h" 13 #include "mojo/public/cpp/bindings/binding_set.h"
14 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
15 #include "services/shell/public/cpp/interface_factory.h" 14 #include "services/shell/public/cpp/interface_factory.h"
16 #include "services/shell/public/cpp/shell_client.h" 15 #include "services/shell/public/cpp/shell_client.h"
16 #include "services/tracing/public/cpp/tracing_impl.h"
17 17
18 namespace resource_provider { 18 namespace resource_provider {
19 19
20 class ResourceProviderApp : public mojo::ShellClient, 20 class ResourceProviderApp : public mojo::ShellClient,
21 public mojo::InterfaceFactory<ResourceProvider> { 21 public mojo::InterfaceFactory<ResourceProvider> {
22 public: 22 public:
23 explicit ResourceProviderApp(const std::string& resource_provider_app_url); 23 explicit ResourceProviderApp(const std::string& resource_provider_app_url);
24 ~ResourceProviderApp() override; 24 ~ResourceProviderApp() override;
25 25
26 private: 26 private:
(...skipping 14 matching lines...) Expand all
41 // core services, it'll be the url of that. Otherwise it'll just be 41 // core services, it'll be the url of that. Otherwise it'll just be
42 // mojo:resource_provider. 42 // mojo:resource_provider.
43 std::string resource_provider_app_url_; 43 std::string resource_provider_app_url_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(ResourceProviderApp); 45 DISALLOW_COPY_AND_ASSIGN(ResourceProviderApp);
46 }; 46 };
47 47
48 } // namespace resource_provider 48 } // namespace resource_provider
49 49
50 #endif // COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_ 50 #endif // COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_APP_H_
OLDNEW
« no previous file with comments | « components/resource_provider/DEPS ('k') | content/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698