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

Unified Diff: content/public/common/main_function_params.h

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « content/public/common/content_restriction.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/main_function_params.h
===================================================================
--- content/public/common/main_function_params.h (revision 107906)
+++ content/public/common/main_function_params.h (working copy)
@@ -6,8 +6,8 @@
// plugin) to shield the call sites from the differences between platforms
// (e.g., POSIX doesn't need to pass any sandbox information).
-#ifndef CONTENT_COMMON_MAIN_FUNCTION_PARAMS_H_
-#define CONTENT_COMMON_MAIN_FUNCTION_PARAMS_H_
+#ifndef CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
+#define CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
#pragma once
#include "base/command_line.h"
@@ -26,6 +26,8 @@
class Task;
+namespace content {
+
struct MainFunctionParams {
explicit MainFunctionParams(const CommandLine& cl)
: command_line(cl),
@@ -46,4 +48,6 @@
Task* ui_task;
};
-#endif // CONTENT_COMMON_MAIN_FUNCTION_PARAMS_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_MAIN_FUNCTION_PARAMS_H_
« no previous file with comments | « content/public/common/content_restriction.h ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698