| OLD | NEW |
| 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 #import "chrome/common/mac/app_mode_chrome_locator.h" | 5 #import "chrome/common/mac/app_mode_chrome_locator.h" |
| 6 | 6 |
| 7 #include <CoreFoundation/CoreFoundation.h> | 7 #include <CoreFoundation/CoreFoundation.h> |
| 8 | 8 |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 GetChromeBundlePath(&chrome_bundle_path); | 57 GetChromeBundlePath(&chrome_bundle_path); |
| 58 ASSERT_TRUE(file_util::DirectoryExists(chrome_bundle_path)); | 58 ASSERT_TRUE(file_util::DirectoryExists(chrome_bundle_path)); |
| 59 | 59 |
| 60 string16 raw_version; | 60 string16 raw_version; |
| 61 base::FilePath version_path; | 61 base::FilePath version_path; |
| 62 base::FilePath framework_path; | 62 base::FilePath framework_path; |
| 63 EXPECT_TRUE(GetChromeBundleInfo(chrome_bundle_path, | 63 EXPECT_TRUE(GetChromeBundleInfo(chrome_bundle_path, |
| 64 &raw_version, &version_path, &framework_path)); | 64 &raw_version, &version_path, &framework_path)); |
| 65 EXPECT_GT(raw_version.size(), 0U); | 65 EXPECT_GT(raw_version.size(), 0U); |
| 66 EXPECT_TRUE(file_util::DirectoryExists(version_path)); | 66 EXPECT_TRUE(file_util::DirectoryExists(version_path)); |
| 67 EXPECT_TRUE(file_util::PathExists(framework_path)); | 67 EXPECT_TRUE(base::PathExists(framework_path)); |
| 68 } | 68 } |
| OLD | NEW |