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

Side by Side Diff: components/devtools_discovery/devtools_target_descriptor.h

Issue 1145233002: Revert of Change WebContents::last_active_time_ to Time instead of Timeticks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
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
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Returns the target description. 43 // Returns the target description.
44 virtual std::string GetDescription() const = 0; 44 virtual std::string GetDescription() const = 0;
45 45
46 // Returns the url associated with this target. 46 // Returns the url associated with this target.
47 virtual GURL GetURL() const = 0; 47 virtual GURL GetURL() const = 0;
48 48
49 // Returns the favicon url for this target. 49 // Returns the favicon url for this target.
50 virtual GURL GetFaviconURL() const = 0; 50 virtual GURL GetFaviconURL() const = 0;
51 51
52 // Returns the time when the target was last active. 52 // Returns the time when the target was last active.
53 virtual base::Time GetLastActiveTime() const = 0; 53 virtual base::TimeTicks GetLastActivityTime() const = 0;
54 54
55 // Returns true if the debugger is attached to the target. 55 // Returns true if the debugger is attached to the target.
56 virtual bool IsAttached() const = 0; 56 virtual bool IsAttached() const = 0;
57 57
58 // Returns the agent host for this target. 58 // Returns the agent host for this target.
59 virtual scoped_refptr<content::DevToolsAgentHost> GetAgentHost() const = 0; 59 virtual scoped_refptr<content::DevToolsAgentHost> GetAgentHost() const = 0;
60 60
61 // Activates the target. Returns false if the operation failed. 61 // Activates the target. Returns false if the operation failed.
62 virtual bool Activate() const = 0; 62 virtual bool Activate() const = 0;
63 63
64 // Closes the target. Returns false if the operation failed. 64 // Closes the target. Returns false if the operation failed.
65 virtual bool Close() const = 0; 65 virtual bool Close() const = 0;
66 }; 66 };
67 67
68 } // namespace devtools_discovery 68 } // namespace devtools_discovery
69 69
70 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_ 70 #endif // COMPONENTS_DEVTOOLS_DISCOVERY_DEVTOOLS_TARGET_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « components/devtools_discovery/basic_target_descriptor.cc ('k') | components/devtools_http_handler/devtools_http_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698