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

Unified Diff: chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h

Issue 420663003: Extensions: Move bluetooth APIs to extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, gn Created 6 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
Index: chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h
diff --git a/chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h b/chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h
deleted file mode 100644
index 2c93502b5e9f38557b860a9a7d6bbb37e41ce4f4..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 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_COMMON_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_MANIFEST_HANDLER_H_
-#define CHROME_COMMON_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_MANIFEST_HANDLER_H_
-
-#include <string>
-#include <vector>
-
-#include "extensions/common/manifest_handler.h"
-
-namespace extensions {
-class Extension;
-class ManifestPermission;
-}
-
-namespace extensions {
-
-// Parses the "bluetooth" manifest key.
-class BluetoothManifestHandler : public ManifestHandler {
- public:
- BluetoothManifestHandler();
- virtual ~BluetoothManifestHandler();
-
- // ManifestHandler overrides.
- virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
- virtual ManifestPermission* CreatePermission() OVERRIDE;
- virtual ManifestPermission* CreateInitialRequiredPermission(
- const Extension* extension) OVERRIDE;
-
- private:
- // ManifestHandler overrides.
- virtual const std::vector<std::string> Keys() const OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(BluetoothManifestHandler);
-};
-
-} // namespace extensions
-
-#endif // CHROME_COMMON_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_MANIFEST_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698