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

Unified Diff: chrome/test/webdriver/session_manager.h

Issue 5581008: Add a new GetInstance() method for singleton classes, take 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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/test/webdriver/session_manager.h
diff --git a/chrome/test/webdriver/session_manager.h b/chrome/test/webdriver/session_manager.h
index e93843f9b7bd620c158ba46c2b6073be1c46360e..91db207e69f3074123b8a33b1c1842c8d05d0c62 100644
--- a/chrome/test/webdriver/session_manager.h
+++ b/chrome/test/webdriver/session_manager.h
@@ -21,6 +21,9 @@ namespace webdriver {
// their own profiles.
class SessionManager {
public:
+ // Returns the singleton instance.
+ static SessionManager* GetInstance();
+
std::string GetIPAddress();
bool SetIPAddress(const std::string& port);

Powered by Google App Engine
This is Rietveld 408576698