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

Unified Diff: services/python/content_handler/python_system_impl_helper.h

Issue 901203002: Move python content handler to //services/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months 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: services/python/content_handler/python_system_impl_helper.h
diff --git a/mojo/python/content_handler/python_system_impl_helper.h b/services/python/content_handler/python_system_impl_helper.h
similarity index 71%
rename from mojo/python/content_handler/python_system_impl_helper.h
rename to services/python/content_handler/python_system_impl_helper.h
index bd0e0131063ac0c85faa18644da713969b0d4709..516fde2078e5e4645512947687a5e324ccf6aa48 100644
--- a/mojo/python/content_handler/python_system_impl_helper.h
+++ b/services/python/content_handler/python_system_impl_helper.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 MOJO_PYTHON_CONTENT_HANDLER_PYTHON_SYSTEM_IMPL_HELPER_H_
-#define MOJO_PYTHON_CONTENT_HANDLER_PYTHON_SYSTEM_IMPL_HELPER_H_
+#ifndef SERVICES_PYTHON_PYTHON_SYSTEM_IMPL_HELPER_H_
+#define SERVICES_PYTHON_PYTHON_SYSTEM_IMPL_HELPER_H_
#include <Python.h>
@@ -14,8 +14,9 @@
#include "mojo/public/cpp/system/core.h"
#include "mojo/public/python/src/common.h"
-namespace mojo {
+namespace services {
namespace python {
+namespace content_handler {
// Run loop for python
class PythonRunLoop {
@@ -36,10 +37,11 @@ class PythonRunLoop {
base::MessageLoop loop_;
};
-PythonAsyncWaiter* NewAsyncWaiter();
+mojo::python::PythonAsyncWaiter* NewAsyncWaiter();
+} // namespace content_handler
} // namespace python
-} // namespace mojo
+} // namespace services
-#endif // MOJO_PYTHON_CONTENT_HANDLER_PYTHON_SYSTEM_IMPL_HELPER_H_
+#endif // SERVICES_PYTHON_PYTHON_SYSTEM_IMPL_HELPER_H_
« no previous file with comments | « services/python/content_handler/mojo_system_impl.pyx ('k') | services/python/content_handler/python_system_impl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698