diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-17 20:37:20 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-17 20:37:20 +0000 |
commit | d89fd35048c164c5bdd0b9d0ae54a88867f04713 (patch) | |
tree | 565a384496ca850811ee27eb91c49c16dd43799c /ppapi/shared_impl/ppapi_permissions.h | |
parent | 1e79b936b48990615039bb215bc8e26c595a1304 (diff) | |
download | chromium_src-d89fd35048c164c5bdd0b9d0ae54a88867f04713.zip chromium_src-d89fd35048c164c5bdd0b9d0ae54a88867f04713.tar.gz chromium_src-d89fd35048c164c5bdd0b9d0ae54a88867f04713.tar.bz2 |
Fix line endings.
TBR=viettrungluu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10704254
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147085 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppapi_permissions.h')
-rw-r--r-- | ppapi/shared_impl/ppapi_permissions.h | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/ppapi/shared_impl/ppapi_permissions.h b/ppapi/shared_impl/ppapi_permissions.h index 3caa65d..94db0e6 100644 --- a/ppapi/shared_impl/ppapi_permissions.h +++ b/ppapi/shared_impl/ppapi_permissions.h @@ -1,45 +1,45 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PPAPI_SHARED_IMPL_PPAPI_PERMISSIONS_H_
-#define PPAPI_SHARED_IMPL_PPAPI_PERMISSIONS_H_
-
-#include "base/basictypes.h"
-#include "ppapi/shared_impl/ppapi_shared_export.h"
-
-namespace ppapi {
-
-enum Permission {
- // Allows access to dev interfaces.
- PERMISSION_DEV = 1 << 0,
-
- // Allows access to Browser-internal interfaces.
- PERMISSION_PRIVATE = 1 << 2,
-
- // Allows ability to bypass user-gesture checks for showing things like
- // file select dialogs.
- PERMISSION_BYPASS_USER_GESTURE = 1 << 3
-};
-
-class PPAPI_SHARED_EXPORT PpapiPermissions {
- public:
- // Initializes the permissions struct with no permissions.
- PpapiPermissions();
-
- // Initializes with the given permissions bits set.
- explicit PpapiPermissions(uint32 perms);
-
- ~PpapiPermissions();
-
- bool HasPermission(Permission perm) const;
-
- private:
- uint32 permissions_;
-
- // Note: Copy & assign supported.
-};
-
-} // namespace ppapi
-
-#endif // PPAPI_SHARED_IMPL_PPAPI_PERMISSIONS_H_
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef PPAPI_SHARED_IMPL_PPAPI_PERMISSIONS_H_ +#define PPAPI_SHARED_IMPL_PPAPI_PERMISSIONS_H_ + +#include "base/basictypes.h" +#include "ppapi/shared_impl/ppapi_shared_export.h" + +namespace ppapi { + +enum Permission { + // Allows access to dev interfaces. + PERMISSION_DEV = 1 << 0, + + // Allows access to Browser-internal interfaces. + PERMISSION_PRIVATE = 1 << 2, + + // Allows ability to bypass user-gesture checks for showing things like + // file select dialogs. + PERMISSION_BYPASS_USER_GESTURE = 1 << 3 +}; + +class PPAPI_SHARED_EXPORT PpapiPermissions { + public: + // Initializes the permissions struct with no permissions. + PpapiPermissions(); + + // Initializes with the given permissions bits set. + explicit PpapiPermissions(uint32 perms); + + ~PpapiPermissions(); + + bool HasPermission(Permission perm) const; + + private: + uint32 permissions_; + + // Note: Copy & assign supported. +}; + +} // namespace ppapi + +#endif // PPAPI_SHARED_IMPL_PPAPI_PERMISSIONS_H_ |