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

Side by Side Diff: chrome/test/webdriver/session.cc

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/webdriver/session_manager.h" 5 #include "chrome/test/webdriver/session_manager.h"
6 6
7 #ifdef OS_POSIX 7 #ifdef OS_POSIX
8 #include <dirent.h> 8 #include <dirent.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 #include <sys/stat.h> 10 #include <sys/stat.h>
(...skipping 13 matching lines...) Expand all
24 #include "base/file_util.h" 24 #include "base/file_util.h"
25 #include "base/logging.h" 25 #include "base/logging.h"
26 #include "base/process.h" 26 #include "base/process.h"
27 #include "base/process_util.h" 27 #include "base/process_util.h"
28 #include "base/string_util.h" 28 #include "base/string_util.h"
29 #include "base/test/test_timeouts.h" 29 #include "base/test/test_timeouts.h"
30 #include "base/json/json_reader.h" 30 #include "base/json/json_reader.h"
31 #include "base/json/json_writer.h" 31 #include "base/json/json_writer.h"
32 #include "base/utf_string_conversions.h" 32 #include "base/utf_string_conversions.h"
33 33
34 #include "chrome/app/chrome_dll_resource.h" 34 #include "chrome/app/chrome_command_ids.h"
35 #include "chrome/common/chrome_constants.h" 35 #include "chrome/common/chrome_constants.h"
36 #include "chrome/common/chrome_switches.h" 36 #include "chrome/common/chrome_switches.h"
37 #include "chrome/test/test_launcher_utils.h" 37 #include "chrome/test/test_launcher_utils.h"
38 #include "chrome/test/webdriver/utility_functions.h" 38 #include "chrome/test/webdriver/utility_functions.h"
39 39
40 #include "third_party/webdriver/atoms.h" 40 #include "third_party/webdriver/atoms.h"
41 41
42 namespace webdriver { 42 namespace webdriver {
43 43
44 #ifdef OS_WIN 44 #ifdef OS_WIN
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 } 237 }
238 238
239 int status; 239 int status;
240 if (!result_dict->GetInteger("status", &status)) { 240 if (!result_dict->GetInteger("status", &status)) {
241 NOTREACHED() << "...script did not return a status flag."; 241 NOTREACHED() << "...script did not return a status flag.";
242 } 242 }
243 return static_cast<ErrorCode>(status); 243 return static_cast<ErrorCode>(status);
244 } 244 }
245 245
246 } // namespace webdriver 246 } // namespace webdriver
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698