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

Side by Side Diff: chrome/browser/nacl_host/test/mock_nacl_gdb.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 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) 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 #include <cstdio> 5 #include <cstdio>
6 #include <cstring> 6 #include <cstring>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 13
14 static const char kEvalCommand[] = "--eval-command"; 14 static const char kEvalCommand[] = "--eval-command";
15 static const char kCommand[] = "--command"; 15 static const char kCommand[] = "--command";
16 static const char kNaClIrt[] = "nacl-irt \""; 16 static const char kNaClIrt[] = "nacl-irt \"";
17 static const char kPass[] = "PASS"; 17 static const char kPass[] = "PASS";
18 static const char kAttach[] = "target remote :4014"; 18 static const char kAttach[] = "target remote :4014";
19 19
20 int main(int argc, char** argv) { 20 int main(int argc, char** argv) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 continue; 55 continue;
56 } 56 }
57 // Unknown argument. 57 // Unknown argument.
58 NOTREACHED() << "Invalid argument " << argv[i]; 58 NOTREACHED() << "Invalid argument " << argv[i];
59 } 59 }
60 CHECK_EQ(i, argc); 60 CHECK_EQ(i, argc);
61 base::WriteFile(base::FilePath::FromUTF8Unsafe(mock_nacl_gdb_file), 61 base::WriteFile(base::FilePath::FromUTF8Unsafe(mock_nacl_gdb_file),
62 kPass, strlen(kPass)); 62 kPass, strlen(kPass));
63 return 0; 63 return 0;
64 } 64 }
OLDNEW
« no previous file with comments | « chrome/browser/memory_details_linux.cc ('k') | chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698