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

Unified Diff: blimp/engine/mojo/font_fetcher_mojo_impl.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 | « blimp/engine/mojo/font_fetcher.mojom ('k') | blimp/engine/mojo/font_fetcher_mojo_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/mojo/font_fetcher_mojo_impl.h
diff --git a/blimp/engine/mojo/font_fetcher_mojo_impl.h b/blimp/engine/mojo/font_fetcher_mojo_impl.h
deleted file mode 100644
index 0dc96ff7fa54df912c5d52e7abf7a5a6bb02075a..0000000000000000000000000000000000000000
--- a/blimp/engine/mojo/font_fetcher_mojo_impl.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2016 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 BLIMP_ENGINE_MOJO_FONT_FETCHER_MOJO_IMPL_H_
-#define BLIMP_ENGINE_MOJO_FONT_FETCHER_MOJO_IMPL_H_
-
-#include <string>
-
-#include "blimp/engine/mojo/font_fetcher.mojom.h"
-#include "mojo/public/cpp/bindings/binding_set.h"
-
-namespace blimp {
-namespace engine {
-
-class FontDataFetcher;
-
-// Service for processing FontFetcher requests from the renderer.
-// Caller is responsible for executing all methods on the IO thread.
-class FontFetcherMojoImpl : public mojom::FontFetcher {
- public:
- // |font_data_fetcher|: The FontDataFetcher object which will get the font
- // data stream, it must outlive the Mojo connection.
- explicit FontFetcherMojoImpl(FontDataFetcher* font_data_fetcher);
- ~FontFetcherMojoImpl() override;
-
- // Factory method called by Mojo.
- // Binds |this| to the connection specified by |request|.
- void BindRequest(mojo::InterfaceRequest<mojom::FontFetcher> request);
-
- // mojom::FontAccess implementation.
- void GetFontStream(const std::string& font_hash,
- const GetFontStreamCallback& callback) override;
-
- private:
- mojo::BindingSet<mojom::FontFetcher> bindings_;
-
- // Fetcher object which fetches the font stream and passed over the Mojo
- // service.
- FontDataFetcher* font_data_fetcher_;
-
- DISALLOW_COPY_AND_ASSIGN(FontFetcherMojoImpl);
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_MOJO_FONT_FETCHER_MOJO_IMPL_H_
« no previous file with comments | « blimp/engine/mojo/font_fetcher.mojom ('k') | blimp/engine/mojo/font_fetcher_mojo_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698