Index: chrome/renderer/extensions/native_handler.h |
diff --git a/chrome/renderer/native_handler.h b/chrome/renderer/extensions/native_handler.h |
similarity index 90% |
rename from chrome/renderer/native_handler.h |
rename to chrome/renderer/extensions/native_handler.h |
index d328d21e46a653ee1bdd4cb81ac5cfa74f55ab35..f9eb4fe0e40ccfc3bb52812f0db65d7f9726d5e1 100644 |
--- a/chrome/renderer/native_handler.h |
+++ b/chrome/renderer/extensions/native_handler.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_RENDERER_NATIVE_HANDLER_H_ |
-#define CHROME_RENDERER_NATIVE_HANDLER_H_ |
+#ifndef CHROME_RENDERER_EXTENSIONS_NATIVE_HANDLER_H_ |
+#define CHROME_RENDERER_EXTENSIONS_NATIVE_HANDLER_H_ |
#include "base/bind.h" |
#include "base/memory/linked_ptr.h" |
@@ -12,6 +12,8 @@ |
#include <string> |
#include <vector> |
+namespace extensions { |
+ |
// A NativeHandler is a factory for JS objects with functions on them that map |
// to native C++ functions. Subclasses should call RouteFunction() in their |
// constructor to define functions on the created JS objects. |
@@ -53,4 +55,6 @@ class NativeHandler { |
DISALLOW_COPY_AND_ASSIGN(NativeHandler); |
}; |
-#endif // CHROME_RENDERER_NATIVE_HANDLER_H_ |
+} // extensions |
+ |
+#endif // CHROME_RENDERER_EXTENSIONS_NATIVE_HANDLER_H_ |