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

Unified Diff: chrome/browser/nacl_host/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: chrome/browser/nacl_host/nacl_file_host.h
diff --git a/chrome/browser/nacl_host/nacl_file_host.h b/chrome/browser/nacl_host/nacl_file_host.h
deleted file mode 100644
index a34c8ac5d3d9ab13ed9294e108ed7a2d6f595cf3..0000000000000000000000000000000000000000
--- a/chrome/browser/nacl_host/nacl_file_host.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_
-
-#include <string>
-
-#include "base/memory/ref_counted.h"
-
-class GURL;
-class NaClHostMessageFilter;
-
-namespace base {
-class FilePath;
-}
-
-namespace IPC {
-class Message;
-}
-
-// 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,
- const std::string& filename,
- IPC::Message* reply_msg);
-
-// Return true if the filename requested is valid for opening.
-// Sets file_to_open to the base::FilePath which we will attempt to open.
-bool PnaclCanOpenFile(const std::string& filename,
- base::FilePath* file_to_open);
-
-// Opens a NaCl executable file for reading and executing.
-void OpenNaClExecutable(
- scoped_refptr<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_

Powered by Google App Engine
This is Rietveld 408576698