OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ | 5 #ifndef COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ |
6 #define COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ | 6 #define COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/time/time.h" | 12 #include "base/time/time.h" |
14 #include "url/gurl.h" | 13 #include "url/gurl.h" |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 class DevToolsAgentHost; | 16 class DevToolsAgentHost; |
18 } | 17 } |
19 | 18 |
20 namespace devtools_discovery { | 19 namespace devtools_discovery { |
21 | 20 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // Activates the target. Returns false if the operation failed. | 60 // Activates the target. Returns false if the operation failed. |
62 virtual bool Activate() const = 0; | 61 virtual bool Activate() const = 0; |
63 | 62 |
64 // Closes the target. Returns false if the operation failed. | 63 // Closes the target. Returns false if the operation failed. |
65 virtual bool Close() const = 0; | 64 virtual bool Close() const = 0; |
66 }; | 65 }; |
67 | 66 |
68 } // namespace devtools_discovery | 67 } // namespace devtools_discovery |
69 | 68 |
70 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ | 69 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ |
OLD | NEW |