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

Unified Diff: components/nacl/browser/nacl_host_message_filter.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_host_message_filter.h
diff --git a/chrome/browser/nacl_host/nacl_host_message_filter.h b/components/nacl/browser/nacl_host_message_filter.h
similarity index 92%
rename from chrome/browser/nacl_host/nacl_host_message_filter.h
rename to components/nacl/browser/nacl_host_message_filter.h
index b8b201ab17a69557504edf92bbd9c1ad95229480..ef073322a44254e72f5cd2d6924ec8a2d69e0512 100644
--- a/chrome/browser/nacl_host/nacl_host_message_filter.h
+++ b/components/nacl/browser/nacl_host_message_filter.h
@@ -2,8 +2,8 @@
// 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_HOST_MESSAGE_FILTER_H_
-#define CHROME_BROWSER_NACL_HOST_NACL_HOST_MESSAGE_FILTER_H_
+#ifndef COMPONENTS_NACL_BROWSER_NACL_HOST_MESSAGE_FILTER_H_
+#define COMPONENTS_NACL_BROWSER_NACL_HOST_MESSAGE_FILTER_H_
#include "base/files/file_path.h"
#include "base/memory/weak_ptr.h"
@@ -22,6 +22,7 @@ class HostResolver;
class URLRequestContextGetter;
}
+namespace nacl {
Mark Seaborn 2013/11/21 23:47:34 Add empty line after this to match closing '}'
// This class filters out incoming Chrome-specific IPC messages for the renderer
// process on the IPC thread.
class NaClHostMessageFilter : public content::BrowserMessageFilter {
@@ -79,4 +80,6 @@ class NaClHostMessageFilter : public content::BrowserMessageFilter {
DISALLOW_COPY_AND_ASSIGN(NaClHostMessageFilter);
};
-#endif // CHROME_BROWSER_NACL_HOST_NACL_HOST_MESSAGE_FILTER_H_
+} // namespace nacl
+
+#endif // COMPONENTS_NACL_BROWSER_NACL_HOST_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698