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

Unified Diff: components/font_service/font_service_app.h

Issue 1276163002: Revert of Sandbox html_viewer on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/DEPS ('k') | components/font_service/font_service_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/font_service/font_service_app.h
diff --git a/components/font_service/font_service_app.h b/components/font_service/font_service_app.h
deleted file mode 100644
index 9eda20a6959b63065e70c040a12874ba0f21c8ff..0000000000000000000000000000000000000000
--- a/components/font_service/font_service_app.h
+++ /dev/null
@@ -1,53 +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_FONT_SERVICE_FONT_SERVICE_APP_H_
-#define COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_
-
-#include "components/font_service/public/interfaces/font_service.mojom.h"
-#include "mojo/application/public/cpp/application_delegate.h"
-#include "mojo/application/public/cpp/interface_factory.h"
-#include "mojo/common/weak_binding_set.h"
-#include "skia/ext/skia_utils_base.h"
-
-namespace font_service {
-
-class FontServiceApp : public mojo::ApplicationDelegate,
- public mojo::InterfaceFactory<FontService>,
- public FontService {
- public:
- FontServiceApp();
- ~FontServiceApp() override;
-
- private:
- // ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* app) override;
- bool ConfigureIncomingConnection(
- mojo::ApplicationConnection* connection) override;
-
- // mojo::InterfaceFactory<FontService>:
- void Create(mojo::ApplicationConnection* connection,
- mojo::InterfaceRequest<FontService> request) override;
-
- // FontService:
- void MatchFamilyName(const mojo::String& family_name,
- TypefaceStyle requested_style,
- const MatchFamilyNameCallback& callback) override;
- void OpenStream(uint32_t id_number,
- const OpenStreamCallback& callback) override;
-
- int FindOrAddPath(const SkString& path);
-
- mojo::WeakBindingSet<FontService> bindings_;
-
- // We don't want to leak paths to our callers; we thus enumerate the paths of
- // fonts.
- SkTDArray<SkString*> paths_;
-
- DISALLOW_COPY_AND_ASSIGN(FontServiceApp);
-};
-
-} // namespace font_service
-
-#endif // COMPONENTS_FONT_SERVICE_FONT_SERVICE_APP_H_
« no previous file with comments | « components/font_service/DEPS ('k') | components/font_service/font_service_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698