forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gin] Add feature to do extra masking in V8.
Change-Id: Iba70082c0c8cb01c8bcb8c5c6e7f0fa237184f30 Reviewed-on: https://chromium-review.googlesource.com/834088 Reviewed-by: Jochen Eisinger <jochen@chromium.org> Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Cr-Commit-Position: refs/heads/master@{#525316}
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2017 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. | ||
|
||
#include "gin/gin_features.h" | ||
|
||
namespace features { | ||
|
||
// Enables extra masking and integrity checking in V8. | ||
const base::Feature kV8ExtraMasking{"V8ExtraMasking", | ||
base::FEATURE_DISABLED_BY_DEFAULT}; | ||
|
||
} // namespace features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2017 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 GIN_FEATURES_H_ | ||
#define GIN_FEATURES_H_ | ||
|
||
#include "base/feature_list.h" | ||
#include "gin/gin_export.h" | ||
|
||
namespace features { | ||
|
||
GIN_EXPORT extern const base::Feature kV8ExtraMasking; | ||
|
||
} // namespace features | ||
|
||
#endif // GIN_FEATURES_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters