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

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

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
« no previous file with comments | « content/public/browser/browser_message_filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_message_filter.cc
diff --git a/content/browser/browser_message_filter.cc b/content/public/browser/browser_message_filter.cc
similarity index 96%
rename from content/browser/browser_message_filter.cc
rename to content/public/browser/browser_message_filter.cc
index dd2414caf5dd845f0ddd6921b551e0578040fff1..88f7107486b38fd74d6f7e0d7516bf9e9d9da45c 100644
--- a/content/browser/browser_message_filter.cc
+++ b/content/public/browser/browser_message_filter.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/browser_message_filter.h"
+#include "content/public/browser/browser_message_filter.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -13,8 +13,9 @@
#include "content/public/common/result_codes.h"
#include "ipc/ipc_sync_message.h"
-using content::BrowserThread;
-using content::UserMetricsAction;
+using content::BrowserMessageFilter;
tfarina 2011/12/15 15:16:35 nit: you don't need this using here.
+
+namespace content {
BrowserMessageFilter::BrowserMessageFilter()
: channel_(NULL), peer_handle_(base::kNullProcessHandle) {
@@ -126,3 +127,5 @@ bool BrowserMessageFilter::CheckCanDispatchOnUI(const IPC::Message& message,
#endif
return true;
}
+
+} // namespace content
« no previous file with comments | « content/public/browser/browser_message_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698