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

Unified Diff: components/font_service/public/cpp/font_loader.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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
« no previous file with comments | « components/font_service/font_service_app.cc ('k') | components/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/font_service/public/cpp/font_loader.h
diff --git a/components/font_service/public/cpp/font_loader.h b/components/font_service/public/cpp/font_loader.h
index b9fbd6fab9d78f5980215729b558bda0c1448f94..838b8ec701d621ba87c0ace82e4763d3bb71656f 100644
--- a/components/font_service/public/cpp/font_loader.h
+++ b/components/font_service/public/cpp/font_loader.h
@@ -18,13 +18,8 @@
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
namespace mojo {
-class ApplicationImpl;
-namespace shell {
-namespace mojom {
class Shell;
}
-}
-}
namespace font_service {
namespace internal {
@@ -40,8 +35,7 @@ class FontServiceThread;
class FontLoader : public SkFontConfigInterface,
public internal::MappedFontFile::Observer {
public:
- explicit FontLoader(mojo::shell::mojom::Shell* shell);
- explicit FontLoader(mojo::ApplicationImpl* application_impl);
+ explicit FontLoader(mojo::Shell* shell);
~FontLoader() override;
// Shuts down the background thread.
« no previous file with comments | « components/font_service/font_service_app.cc ('k') | components/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698