Index: chrome/browser/extensions/api/messaging/arc_support_host.h |
diff --git a/chrome/browser/extensions/api/messaging/arc_support_host.h b/chrome/browser/extensions/api/messaging/arc_support_host.h |
deleted file mode 100644 |
index efb69e4db5d731146cc4878aa833e2815d14d789..0000000000000000000000000000000000000000 |
--- a/chrome/browser/extensions/api/messaging/arc_support_host.h |
+++ /dev/null |
@@ -1,44 +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 CHROME_BROWSER_EXTENSIONS_API_MESSAGING_ARC_SUPPORT_HOST_H_ |
-#define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_ARC_SUPPORT_HOST_H_ |
- |
-#include "base/macros.h" |
-#include "chrome/browser/chromeos/arc/arc_auth_service.h" |
-#include "extensions/browser/api/messaging/native_message_host.h" |
- |
-// Supports communication with Arc support dialog. |
-class ArcSupportHost : public extensions::NativeMessageHost, |
- public arc::ArcAuthService::Observer { |
- public: |
- static const char kHostName[]; |
- static const char* const kHostOrigin[]; |
- |
- static scoped_ptr<NativeMessageHost> Create(); |
- |
- ~ArcSupportHost() override; |
- |
- // Overrides NativeMessageHost: |
- void Start(Client* client) override; |
- void OnMessage(const std::string& request_string) override; |
- scoped_refptr<base::SingleThreadTaskRunner> task_runner() const override; |
- |
- // Overrides arc::ArcAuthService::Observer: |
- void OnOptInUIClose() override; |
- void OnOptInUIShowPage(arc::ArcAuthService::UIPage page, |
- const base::string16& status) override; |
- |
- private: |
- ArcSupportHost(); |
- |
- void SendLocalization(); |
- |
- // Unowned pointer. |
- Client* client_ = nullptr; |
- |
- DISALLOW_COPY_AND_ASSIGN(ArcSupportHost); |
-}; |
- |
-#endif // CHROME_BROWSER_EXTENSIONS_API_MESSAGING_ARC_SUPPORT_HOST_H_ |