OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/test/webdriver/webdriver_session_manager.h" | 5 #include "chrome/test/webdriver/webdriver_session_manager.h" |
6 | 6 |
7 #include "chrome/test/webdriver/webdriver_session.h" | 7 #include "chrome/test/webdriver/webdriver_session.h" |
8 | 8 |
9 namespace webdriver { | 9 namespace webdriver { |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 } | 42 } |
43 | 43 |
44 void SessionManager::set_url_base(const std::string& url_base) { | 44 void SessionManager::set_url_base(const std::string& url_base) { |
45 url_base_ = url_base; | 45 url_base_ = url_base; |
46 } | 46 } |
47 | 47 |
48 std::string SessionManager::url_base() const { | 48 std::string SessionManager::url_base() const { |
49 return url_base_; | 49 return url_base_; |
50 } | 50 } |
51 | 51 |
52 SessionManager::SessionManager() : port_(""), url_base_("") {} | 52 SessionManager::SessionManager() {} |
53 | 53 |
54 SessionManager::~SessionManager() {} | 54 SessionManager::~SessionManager() {} |
55 | 55 |
56 // static | 56 // static |
57 SessionManager* SessionManager::GetInstance() { | 57 SessionManager* SessionManager::GetInstance() { |
58 return Singleton<SessionManager>::get(); | 58 return Singleton<SessionManager>::get(); |
59 } | 59 } |
60 | 60 |
61 } // namespace webdriver | 61 } // namespace webdriver |
OLD | NEW |