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

Unified Diff: blimp/engine/browser/font_data_fetcher.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/app/ui/blimp_window_tree_host.cc ('k') | blimp/engine/browser/font_data_fetcher_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/browser/font_data_fetcher.h
diff --git a/blimp/engine/browser/font_data_fetcher.h b/blimp/engine/browser/font_data_fetcher.h
deleted file mode 100644
index 2c0ef96981d96d680033db29e55ea41082e00292..0000000000000000000000000000000000000000
--- a/blimp/engine/browser/font_data_fetcher.h
+++ /dev/null
@@ -1,37 +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_BROWSER_FONT_DATA_FETCHER_H_
-#define BLIMP_ENGINE_BROWSER_FONT_DATA_FETCHER_H_
-
-#include <memory>
-#include <string>
-
-#include "base/callback.h"
-#include "base/memory/ptr_util.h"
-#include "third_party/skia/include/core/SkStream.h"
-
-namespace blimp {
-namespace engine {
-
-// FontDataFetcher does the real work of fetching font data.
-// It should be created, called, and destroyed from the same thread.
-class FontDataFetcher {
- public:
- using FontResponseCallback =
- base::Callback<void(std::unique_ptr<SkStream>)>;
-
- virtual ~FontDataFetcher() {}
-
- // Asynchronously loads the font identified by |font_hash| and invokes
- // |callback| with an SkStream containing the font data.
- // If there is no font for font_hash, the SkStream will be empty.
- virtual void FetchFontStream(const std::string& font_hash,
- const FontResponseCallback& callback) const = 0;
-};
-
-} // namespace engine
-} // namespace blimp
-
-#endif // BLIMP_ENGINE_BROWSER_FONT_DATA_FETCHER_H_
« no previous file with comments | « blimp/engine/app/ui/blimp_window_tree_host.cc ('k') | blimp/engine/browser/font_data_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698