Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / devtools / device / self_device_provider.h
1 // Copyright 2014 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_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_
7
8 #include "chrome/browser/devtools/device/android_device_manager.h"
9
10 // Instantiate this class only in a test and/or when DEBUG_DEVTOOLS is defined.
11 class SelfAsDeviceProvider : public AndroidDeviceManager::DeviceProvider {
12  public:
13   explicit SelfAsDeviceProvider(int port);
14
15   virtual void QueryDevices(const QueryDevicesCallback& callback) OVERRIDE;
16
17  private:
18   virtual ~SelfAsDeviceProvider(){}
19
20   int port_;
21 };
22
23 #endif  // CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_