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

Side by Side Diff: chrome/test/chromedriver/chrome/chrome_android_impl.cc

Issue 23566018: [chromedriver] Remove Logger and just use base LOG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 3 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/chrome_android_impl.h" 5 #include "chrome/test/chromedriver/chrome/chrome_android_impl.h"
6 6
7 #include "chrome/test/chromedriver/chrome/device_manager.h" 7 #include "chrome/test/chromedriver/chrome/device_manager.h"
8 #include "chrome/test/chromedriver/chrome/devtools_http_client.h" 8 #include "chrome/test/chromedriver/chrome/devtools_http_client.h"
9 #include "chrome/test/chromedriver/chrome/status.h" 9 #include "chrome/test/chromedriver/chrome/status.h"
10 10
11 ChromeAndroidImpl::ChromeAndroidImpl( 11 ChromeAndroidImpl::ChromeAndroidImpl(
12 scoped_ptr<DevToolsHttpClient> client, 12 scoped_ptr<DevToolsHttpClient> client,
13 ScopedVector<DevToolsEventListener>& devtools_event_listeners, 13 ScopedVector<DevToolsEventListener>& devtools_event_listeners,
14 scoped_ptr<Device> device, 14 scoped_ptr<Device> device)
15 Log* log) 15 : ChromeImpl(client.Pass(), devtools_event_listeners),
16 : ChromeImpl(client.Pass(), devtools_event_listeners, log),
17 device_(device.Pass()) {} 16 device_(device.Pass()) {}
18 17
19 ChromeAndroidImpl::~ChromeAndroidImpl() {} 18 ChromeAndroidImpl::~ChromeAndroidImpl() {}
20 19
21 Chrome::Type ChromeAndroidImpl::GetType() { 20 Chrome::Type ChromeAndroidImpl::GetType() {
22 return ANDROID; 21 return ANDROID;
23 } 22 }
24 23
25 std::string ChromeAndroidImpl::GetOperatingSystemName() { 24 std::string ChromeAndroidImpl::GetOperatingSystemName() {
26 return "ANDROID"; 25 return "ANDROID";
27 } 26 }
28 27
29 Status ChromeAndroidImpl::Quit() { 28 Status ChromeAndroidImpl::Quit() {
30 return device_->StopApp(); 29 return device_->StopApp();
31 } 30 }
32 31
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome/chrome_android_impl.h ('k') | chrome/test/chromedriver/chrome/chrome_desktop_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698