summaryrefslogtreecommitdiffstats
path: root/chrome/test/nacl/nacl_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/nacl/nacl_test.cc')
-rw-r--r--chrome/test/nacl/nacl_test.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/test/nacl/nacl_test.cc b/chrome/test/nacl/nacl_test.cc
index f1c2b75..03feb4d 100644
--- a/chrome/test/nacl/nacl_test.cc
+++ b/chrome/test/nacl/nacl_test.cc
@@ -21,7 +21,7 @@ const char kTestCompleteSuccess[] = "OK";
const FilePath::CharType kBaseUrl[] =
FILE_PATH_LITERAL("http://localhost:5103/tests/prebuilt");
-} // anonymous namespace
+} // namespace
NaClTest::NaClTest()
: UITest(), use_x64_nexes_(false), multiarch_test_(false) {
@@ -41,8 +41,7 @@ NaClTest::~NaClTest() {}
FilePath NaClTest::GetTestRootDir() {
FilePath path;
PathService::Get(base::DIR_SOURCE_ROOT, &path);
- path = path.AppendASCII("native_client");
- return path;
+ return path.AppendASCII("native_client");
}
GURL NaClTest::GetTestUrl(const FilePath& filename) {
@@ -58,7 +57,6 @@ GURL NaClTest::GetTestUrl(const FilePath& filename) {
return GURL(path.value());
}
-
void NaClTest::WaitForFinish(const FilePath& filename,
int wait_time) {
GURL url = GetTestUrl(filename);
@@ -83,7 +81,6 @@ void NaClTest::RunMultiarchTest(const FilePath& filename, int timeout) {
RunTest(filename, timeout);
}
-
void NaClTest::SetUp() {
FilePath nacl_test_dir = GetTestRootDir();
#if defined(OS_WIN)