| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_ | 5 #ifndef CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_ |
| 6 #define CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_ | 6 #define CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/process_util.h" | 10 #include "base/process_util.h" |
| 11 #include "chrome/browser/importer/nss_decryptor.h" | 11 #include "chrome/utility/importer/nss_decryptor.h" |
| 12 | 12 |
| 13 class FFDecryptorServerChannelListener; | 13 class FFDecryptorServerChannelListener; |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class MessageLoopForIO; | 16 class MessageLoopForIO; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace IPC { | 19 namespace IPC { |
| 20 class Channel; | 20 class Channel; |
| 21 } // namespace IPC | 21 } // namespace IPC |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 bool FFUnitTestDecryptorProxy::DecryptorInit(const base::FilePath& dll_path, | 79 bool FFUnitTestDecryptorProxy::DecryptorInit(const base::FilePath& dll_path, |
| 80 const base::FilePath& db_path) { | 80 const base::FilePath& db_path) { |
| 81 return decryptor_.Init(dll_path, db_path); | 81 return decryptor_.Init(dll_path, db_path); |
| 82 } | 82 } |
| 83 | 83 |
| 84 string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { | 84 string16 FFUnitTestDecryptorProxy::Decrypt(const std::string& crypt) { |
| 85 return decryptor_.Decrypt(crypt); | 85 return decryptor_.Decrypt(crypt); |
| 86 } | 86 } |
| 87 #endif // !OS_MACOSX | 87 #endif // !OS_MACOSX |
| 88 | 88 |
| 89 #endif // CHROME_BROWSER_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_ | 89 #endif // CHROME_UTILITY_IMPORTER_FIREFOX_IMPORTER_UNITTEST_UTILS_H_ |
| OLD | NEW |