Index: chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
=================================================================== |
--- chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc (revision 185206) |
+++ chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc (working copy) |
@@ -9,33 +9,10 @@ |
#include "base/logging.h" |
#include "base/posix/eintr_wrapper.h" |
#include "base/process_util.h" |
-#include "chrome/browser/extensions/api/messaging/native_messaging_host_manifest.h" |
namespace extensions { |
-namespace { |
- |
-const char kNativeMessagingDirectory[] = |
-#if defined(OS_MAXOSX) |
- "/Library/Chrome/NativeMessagingHosts"; |
-#else |
- "/etc/opt/chrome/native-messaging-hosts"; |
-#endif |
- |
-} // namespace |
- |
// static |
-scoped_ptr<NativeMessagingHostManifest> |
-NativeProcessLauncher::FindAndLoadManifest( |
- const std::string& native_host_name, |
- std::string* error_message) { |
- base::FilePath manifest_path = |
- base::FilePath(kNativeMessagingDirectory).Append( |
- native_host_name + ".json"); |
- return NativeMessagingHostManifest::Load(manifest_path, error_message); |
-} |
- |
-// static |
bool NativeProcessLauncher::LaunchNativeProcess( |
const base::FilePath& path, |
base::PlatformFile* read_file, |