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

Unified Diff: content/public/browser/browser_message_filter.h

Issue 8912009: Move BrowserMessageFilter to public, and into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 years 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: content/public/browser/browser_message_filter.h
diff --git a/content/browser/browser_message_filter.h b/content/public/browser/browser_message_filter.h
similarity index 92%
rename from content/browser/browser_message_filter.h
rename to content/public/browser/browser_message_filter.h
index 78f50959ba45e4bc48249b11fd5c4802156df17f..16c23e741bdc4cdda392438b26f9c53060fbd791 100644
--- a/content/browser/browser_message_filter.h
+++ b/content/public/browser/browser_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 CONTENT_BROWSER_BROWSER_MESSAGE_FILTER_H_
-#define CONTENT_BROWSER_BROWSER_MESSAGE_FILTER_H_
+#ifndef CONTENT_PUBLIC_BROWSER_BROWSER_MESSAGE_FILTER_H_
+#define CONTENT_PUBLIC_BROWSER_BROWSER_MESSAGE_FILTER_H_
#pragma once
#include "base/process.h"
@@ -11,6 +11,8 @@
#include "content/public/browser/browser_thread.h"
#include "ipc/ipc_channel_proxy.h"
+namespace content {
+
// Base class for message filters in the browser process. You can receive and
// send messages on any thread.
class CONTENT_EXPORT BrowserMessageFilter :
@@ -68,4 +70,6 @@ class CONTENT_EXPORT BrowserMessageFilter :
base::ProcessHandle peer_handle_;
};
-#endif // CONTENT_BROWSER_BROWSER_MESSAGE_FILTER_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_BROWSER_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698