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

Unified Diff: content/common/debug_flags.h

Issue 11235068: Move the remaning files in content\common to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/common/content_param_traits.cc ('k') | content/common/debug_flags.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/debug_flags.h
===================================================================
--- content/common/debug_flags.h (revision 163632)
+++ content/common/debug_flags.h (working copy)
@@ -5,25 +5,24 @@
#ifndef CONTENT_COMMON_DEBUG_FLAGS_H_
#define CONTENT_COMMON_DEBUG_FLAGS_H_
-#include "content/common/content_export.h"
#include "content/public/common/process_type.h"
class CommandLine;
-class CONTENT_EXPORT DebugFlags {
- public:
+namespace content {
- // Updates the command line arguments with debug-related flags. If
- // debug flags have been used with this process, they will be
- // filtered and added to command_line as needed. is_in_sandbox must
- // be true if the child process will be in a sandbox.
- //
- // Returns true if the caller should "help" the child process by
- // calling the JIT debugger on it. It may only happen if
- // is_in_sandbox is true.
- static bool ProcessDebugFlags(CommandLine* command_line,
- content::ProcessType type,
- bool is_in_sandbox);
-};
+// Updates the command line arguments with debug-related flags. If
+// debug flags have been used with this process, they will be
+// filtered and added to command_line as needed. is_in_sandbox must
+// be true if the child process will be in a sandbox.
+//
+// Returns true if the caller should "help" the child process by
+// calling the JIT debugger on it. It may only happen if
+// is_in_sandbox is true.
+bool ProcessDebugFlags(CommandLine* command_line,
+ ProcessType type,
+ bool is_in_sandbox);
+}; // namespace content
+
#endif // CONTENT_COMMON_DEBUG_FLAGS_H_
« no previous file with comments | « content/common/content_param_traits.cc ('k') | content/common/debug_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698