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

Unified Diff: chrome/test/chromedriver/chrome_desktop_impl.h

Issue 12848005: [chromedriver] Separate stuff of chrome from chromedriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments and fix compile error on mac. Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/chrome_android_impl.cc ('k') | chrome/test/chromedriver/chrome_desktop_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome_desktop_impl.h
diff --git a/chrome/test/chromedriver/chrome_desktop_impl.h b/chrome/test/chromedriver/chrome_desktop_impl.h
deleted file mode 100644
index 81715991e24e6cafb196bf2403e35373e32611ee..0000000000000000000000000000000000000000
--- a/chrome/test/chromedriver/chrome_desktop_impl.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_TEST_CHROMEDRIVER_CHROME_DESKTOP_IMPL_H_
-#define CHROME_TEST_CHROMEDRIVER_CHROME_DESKTOP_IMPL_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "base/files/file_path.h"
-#include "base/files/scoped_temp_dir.h"
-#include "base/process.h"
-#include "chrome/test/chromedriver/chrome_impl.h"
-#include "chrome/test/chromedriver/net/sync_websocket_factory.h"
-
-class CommandLine;
-class Status;
-class URLRequestContextGetter;
-
-namespace base {
-class DictionaryValue;
-class FilePath;
-class ListValue;
-}
-
-class ChromeDesktopImpl : public ChromeImpl {
- public:
- ChromeDesktopImpl(URLRequestContextGetter* context_getter,
- int port,
- const SyncWebSocketFactory& socket_factory);
- virtual ~ChromeDesktopImpl();
-
- virtual Status Launch(const base::FilePath& exe,
- const base::ListValue* args,
- const base::ListValue* extensions,
- const base::DictionaryValue* prefs,
- const base::DictionaryValue* local_state);
-
- // Overriden from Chrome:
- virtual std::string GetOperatingSystemName() OVERRIDE;
-
- // Overridden from ChromeImpl:
- virtual Status Quit() OVERRIDE;
-
- private:
- base::ProcessHandle process_;
- base::ScopedTempDir user_data_dir_;
- base::ScopedTempDir extension_dir_;
-};
-
-namespace internal {
-Status ProcessCommandLineArgs(const base::ListValue* args,
- CommandLine* command);
-Status ProcessExtensions(const base::ListValue* extensions,
- const base::FilePath& temp_dir,
- CommandLine* command);
-Status PrepareUserDataDir(
- const base::FilePath& user_data_dir,
- const base::DictionaryValue* custom_prefs,
- const base::DictionaryValue* custom_local_state);
-} // namespace internal
-
-#endif // CHROME_TEST_CHROMEDRIVER_CHROME_DESKTOP_IMPL_H_
« no previous file with comments | « chrome/test/chromedriver/chrome_android_impl.cc ('k') | chrome/test/chromedriver/chrome_desktop_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698