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

Side by Side Diff: third_party/mojo/src/mojo/edk/test/test_support_impl.cc

Issue 1367303002: Update includes of mojo/edk to be fully-qualified instead of relative to third_party/mojo/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update all include guards Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/edk/test/test_support_impl.h" 5 #include "third_party/mojo/src/mojo/edk/test/test_support_impl.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // |names.size() + 1| for null terminator. 73 // |names.size() + 1| for null terminator.
74 char** rv = static_cast<char**>(calloc(names.size() + 1, sizeof(char*))); 74 char** rv = static_cast<char**>(calloc(names.size() + 1, sizeof(char*)));
75 for (size_t i = 0; i < names.size(); ++i) 75 for (size_t i = 0; i < names.size(); ++i)
76 rv[i] = base::strdup(names[i].c_str()); 76 rv[i] = base::strdup(names[i].c_str());
77 return rv; 77 return rv;
78 } 78 }
79 79
80 } // namespace test 80 } // namespace test
81 } // namespace mojo 81 } // namespace mojo
OLDNEW
« no previous file with comments | « third_party/mojo/src/mojo/edk/test/test_support_impl.h ('k') | third_party/mojo/src/mojo/edk/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698