blob: 7624d06d7ae628a1d7e77a3a49f54ef3c2969e1f [file] [log] [blame]
// 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 CHROME_BROWSER_CHROMEOS_ARC_PRINT_ARC_PRINT_SERVICE_H_
#define CHROME_BROWSER_CHROMEOS_ARC_PRINT_ARC_PRINT_SERVICE_H_
#include "components/arc/mojom/print.mojom.h"
namespace content {
class BrowserContext;
} // namespace content
namespace arc {
class ArcPrintService : public mojom::PrintHost {
public:
// Returns singleton instance for the given BrowserContext,
// or nullptr if the browser |context| is not allowed to use ARC.
static ArcPrintService* GetForBrowserContext(
content::BrowserContext* context);
protected:
ArcPrintService();
private:
DISALLOW_COPY_AND_ASSIGN(ArcPrintService);
};
} // namespace arc
#endif // CHROME_BROWSER_CHROMEOS_ARC_PRINT_ARC_PRINT_SERVICE_H_