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

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

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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/webdriver_session.cc ('k') | chrome/tools/ipclist/ipcfuzz.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/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
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
OLDNEW
« no previous file with comments | « chrome/test/webdriver/webdriver_session.cc ('k') | chrome/tools/ipclist/ipcfuzz.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698