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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.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: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h
similarity index 81%
rename from chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h
rename to extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h
index 95791b3b558bd0cc9687fd804e53bfb762888120..e99926429120183110fe43a13e258b6f1b196e45 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h
+++ b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h
@@ -2,13 +2,13 @@
// 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_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
-#define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
+#ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
+#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
#include <string>
-#include "chrome/common/extensions/api/bluetooth_private.h"
#include "device/bluetooth/bluetooth_device.h"
+#include "extensions/common/api/bluetooth_private.h"
namespace content {
class BrowserContext;
@@ -41,7 +41,7 @@ class BluetoothApiPairingDelegate
private:
// Dispatches a pairing event to the extension.
void DispatchPairingEvent(
- const api::bluetooth_private::PairingEvent& pairing_event);
+ const core_api::bluetooth_private::PairingEvent& pairing_event);
std::string extension_id_;
content::BrowserContext* browser_context_;
@@ -49,4 +49,4 @@ class BluetoothApiPairingDelegate
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
+#endif // EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_PAIRING_DELEGATE_H_
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_api.cc ('k') | extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698