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

Unified Diff: components/resource_provider/resource_provider_impl.h

Issue 1942473002: Eliminate mojo:resource_provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/resource_provider/resource_provider_impl.h
diff --git a/components/resource_provider/resource_provider_impl.h b/components/resource_provider/resource_provider_impl.h
deleted file mode 100644
index 8f319d3d79cdf3b29a575a6c796c1d9be3a97e5c..0000000000000000000000000000000000000000
--- a/components/resource_provider/resource_provider_impl.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_IMPL_H_
-#define COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_IMPL_H_
-
-#include "base/files/file_path.h"
-#include "base/macros.h"
-#include "components/resource_provider/public/interfaces/resource_provider.mojom.h"
-
-namespace resource_provider {
-
-// ResourceProvider implementation that loads resources in background threads.
-class ResourceProviderImpl : public resource_provider::ResourceProvider {
- public:
- ResourceProviderImpl(const base::FilePath& application_path,
- const std::string& resource_provider_app_url);
- ~ResourceProviderImpl() override;
-
- private:
- // ResourceProvider:
- void GetResources(mojo::Array<mojo::String> paths,
- const GetResourcesCallback& callback) override;
-
- const base::FilePath application_path_;
- const std::string resource_provider_app_url_;
-
- DISALLOW_COPY_AND_ASSIGN(ResourceProviderImpl);
-};
-
-} // namespace resource_provider
-
-#endif // COMPONENTS_RESOURCE_PROVIDER_RESOURCE_PROVIDER_IMPL_H_
« no previous file with comments | « components/resource_provider/resource_provider_app.cc ('k') | components/resource_provider/resource_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698