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

Side by Side Diff: chrome/test/chromedriver/chrome/stub_chrome.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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/chromedriver/chrome/stub_chrome.h" 5 #include "chrome/test/chromedriver/chrome/stub_chrome.h"
6 #include "chrome/test/chromedriver/chrome/status.h" 6 #include "chrome/test/chromedriver/chrome/status.h"
7 #include "chrome/test/chromedriver/chrome/web_view.h" 7 #include "chrome/test/chromedriver/chrome/web_view.h"
8 8
9 StubChrome::StubChrome() {} 9 StubChrome::StubChrome() {}
10 10
11 StubChrome::~StubChrome() {} 11 StubChrome::~StubChrome() {}
12 12
13 std::string StubChrome::GetVersion() { 13 std::string StubChrome::GetVersion() {
14 return ""; 14 return std::string();
15 } 15 }
16 16
17 int StubChrome::GetBuildNo() { 17 int StubChrome::GetBuildNo() {
18 return 9999; 18 return 9999;
19 } 19 }
20 20
21 Status StubChrome::GetWebViewIds(std::list<std::string>* web_view_ids) { 21 Status StubChrome::GetWebViewIds(std::list<std::string>* web_view_ids) {
22 return Status(kOk); 22 return Status(kOk);
23 } 23 }
24 24
(...skipping 17 matching lines...) Expand all
42 bool accept, 42 bool accept,
43 const std::string& prompt_text) { 43 const std::string& prompt_text) {
44 return Status(kOk); 44 return Status(kOk);
45 } 45 }
46 46
47 Status StubChrome::GetAutomationExtension(AutomationExtension** extension) { 47 Status StubChrome::GetAutomationExtension(AutomationExtension** extension) {
48 return Status(kOk); 48 return Status(kOk);
49 } 49 }
50 50
51 std::string StubChrome::GetOperatingSystemName() { 51 std::string StubChrome::GetOperatingSystemName() {
52 return ""; 52 return std::string();
53 } 53 }
54 54
55 Status StubChrome::Quit() { 55 Status StubChrome::Quit() {
56 return Status(kOk); 56 return Status(kOk);
57 } 57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698