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

Side by Side Diff: chrome/browser/chromeos/arc/arc_print_service.h

Issue 2115863002: Stub for ARC print Bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary includes. Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_PRINT_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_PRINT_SERVICE_H_
7
8 #include "base/macros.h"
9 #include "components/arc/arc_bridge_service.h"
10 #include "components/arc/arc_service.h"
11 #include "mojo/public/cpp/bindings/binding.h"
12
13 namespace arc {
14
15 class ArcPrintService : public ArcService,
16 public InstanceHolder<mojom::PrintInstance>::Observer,
17 public mojom::PrintHost {
18 public:
19 explicit ArcPrintService(ArcBridgeService* bridge_service);
20 ~ArcPrintService() override;
21
22 // ArcBridgeService::Observer overrides.
23 void OnInstanceReady() override;
24
25 void Print(mojo::ScopedHandle pdf_data) override;
26
27 private:
28 mojo::Binding<mojom::PrintHost> binding_;
29
30 DISALLOW_COPY_AND_ASSIGN(ArcPrintService);
31 };
32
33 } // namespace arc
34
35 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_PRINT_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_print_service.cc » ('j') | chrome/browser/chromeos/arc/arc_print_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698