| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |