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

Side by Side Diff: chrome/test/chromedriver/chrome_launcher_impl.h

Issue 11415205: [chromedriver] Implement connecting to devtools and loading a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_IMPL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_IMPL_H_
6 #define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_IMPL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "chrome/test/chromedriver/chrome_launcher.h" 12 #include "chrome/test/chromedriver/chrome_launcher.h"
12 13
13 class Chrome; 14 class Chrome;
14 class FilePath; 15 class FilePath;
15 class Status; 16 class Status;
17 class URLRequestContextGetter;
16 18
17 class ChromeLauncherImpl : public ChromeLauncher { 19 class ChromeLauncherImpl : public ChromeLauncher {
18 public: 20 public:
19 ChromeLauncherImpl(); 21 explicit ChromeLauncherImpl(URLRequestContextGetter* context_getter);
20 virtual ~ChromeLauncherImpl(); 22 virtual ~ChromeLauncherImpl();
21 23
22 // Overridden from ChromeLauncher: 24 // Overridden from ChromeLauncher:
23 virtual Status Launch(const FilePath& chrome_exe, 25 virtual Status Launch(const FilePath& chrome_exe,
24 scoped_ptr<Chrome>* chrome) OVERRIDE; 26 scoped_ptr<Chrome>* chrome) OVERRIDE;
25 27
26 private: 28 private:
29 scoped_refptr<URLRequestContextGetter> context_getter_;
30
27 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherImpl); 31 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherImpl);
28 }; 32 };
29 33
30 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_IMPL_H_ 34 #endif // CHROME_TEST_CHROMEDRIVER_CHROME_LAUNCHER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome_impl_unittest.cc ('k') | chrome/test/chromedriver/chrome_launcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698