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

Side by Side Diff: chrome/test/webdriver/session_manager.cc

Issue 6992015: Fix minor issues in ChromeDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/webdriver/session_manager.h ('k') | chrome/test/webdriver/webdriver_error.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/session_manager.h" 5 #include "chrome/test/webdriver/session_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/test/webdriver/utility_functions.h" 8 #include "chrome/test/webdriver/utility_functions.h"
9 #include "net/base/net_util.h" 9 #include "net/base/net_util.h"
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 70 }
71 71
72 void SessionManager::set_url_base(const std::string& url_base) { 72 void SessionManager::set_url_base(const std::string& url_base) {
73 url_base_ = url_base; 73 url_base_ = url_base;
74 } 74 }
75 75
76 std::string SessionManager::url_base() const { 76 std::string SessionManager::url_base() const {
77 return url_base_; 77 return url_base_;
78 } 78 }
79 79
80 void SessionManager::set_chrome_dir(const FilePath& chrome_dir) {
81 chrome_dir_ = chrome_dir;
82 }
83
84 FilePath SessionManager::chrome_dir() const {
85 return chrome_dir_;
86 }
87
88 SessionManager::SessionManager() : port_(""), url_base_("") {} 80 SessionManager::SessionManager() : port_(""), url_base_("") {}
89 81
90 SessionManager::~SessionManager() {} 82 SessionManager::~SessionManager() {}
91 83
92 // static 84 // static
93 SessionManager* SessionManager::GetInstance() { 85 SessionManager* SessionManager::GetInstance() {
94 return Singleton<SessionManager>::get(); 86 return Singleton<SessionManager>::get();
95 } 87 }
96 88
97 } // namespace webdriver 89 } // namespace webdriver
OLDNEW
« no previous file with comments | « chrome/test/webdriver/session_manager.h ('k') | chrome/test/webdriver/webdriver_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698