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

Unified Diff: components/nacl/browser/nacl_file_host.h

Issue 75463005: Move more files from chrome/browser/nacl_host/ to components/nacl/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: components/nacl/browser/nacl_file_host.h
diff --git a/chrome/browser/nacl_host/nacl_file_host.h b/components/nacl/browser/nacl_file_host.h
similarity index 76%
rename from chrome/browser/nacl_host/nacl_file_host.h
rename to components/nacl/browser/nacl_file_host.h
index a34c8ac5d3d9ab13ed9294e108ed7a2d6f595cf3..abe75b14f7e9b140be4a0e72c1ec197736142ad6 100644
--- a/chrome/browser/nacl_host/nacl_file_host.h
+++ b/components/nacl/browser/nacl_file_host.h
@@ -2,15 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_NACL_HOST_NACL_FILE_HOST_H_
-#define CHROME_BROWSER_NACL_HOST_NACL_FILE_HOST_H_
+#ifndef COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_
+#define COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_
#include <string>
#include "base/memory/ref_counted.h"
class GURL;
-class NaClHostMessageFilter;
namespace base {
class FilePath;
@@ -20,13 +19,17 @@ namespace IPC {
class Message;
}
+namespace nacl {
+class NaClHostMessageFilter;
+}
+
// Opens NaCl Files in the Browser process, on behalf of the NaCl plugin.
namespace nacl_file_host {
// Open a PNaCl file (readonly) on behalf of the NaCl plugin.
void GetReadonlyPnaclFd(
- scoped_refptr<NaClHostMessageFilter> nacl_host_message_filter,
+ scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter,
const std::string& filename,
IPC::Message* reply_msg);
@@ -37,11 +40,11 @@ bool PnaclCanOpenFile(const std::string& filename,
// Opens a NaCl executable file for reading and executing.
void OpenNaClExecutable(
- scoped_refptr<NaClHostMessageFilter> nacl_host_message_filter,
+ scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter,
int render_view_id,
const GURL& file_url,
IPC::Message* reply_msg);
} // namespace nacl_file_host
-#endif // CHROME_BROWSER_NACL_HOST_NACL_FILE_HOST_H_
+#endif // COMPONENTS_NACL_BROWSER_NACL_FILE_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698