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

Unified Diff: content/public/common/content_restriction.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/browser/content_browser_client.h ('k') | content/public/common/main_function_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_restriction.h
===================================================================
--- content/public/common/content_restriction.h (revision 107906)
+++ content/public/common/content_restriction.h (working copy)
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_CONTENT_RESTRICTION_H_
-#define CONTENT_COMMON_CONTENT_RESTRICTION_H_
+#ifndef CONTENT_PUBLIC_COMMON_CONTENT_RESTRICTION_H_
+#define CONTENT_PUBLIC_COMMON_CONTENT_RESTRICTION_H_
#pragma once
+namespace content {
+
// Used by a full-page plugin to disable browser commands because of
// restrictions on how the data is to be used (i.e. can't copy/print).
enum ContentRestriction {
@@ -16,4 +18,6 @@
CONTENT_RESTRICTION_SAVE = 1 << 4
};
-#endif // CONTENT_COMMON_CONTENT_RESTRICTION_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_CONTENT_RESTRICTION_H_
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/common/main_function_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698