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

Side by Side Diff: Source/core/dom/SandboxFlags.h

Issue 27073003: CSP Suborigins Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All Rights Reserved. 2 * Copyright (C) 2013 Google Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 SandboxPointerLock = 1 << 8, 45 SandboxPointerLock = 1 << 8,
46 SandboxDocumentDomain = 1 << 9, 46 SandboxDocumentDomain = 1 << 9,
47 SandboxOrientationLock = 1 << 10, // See https://w3c.github.io/screen-orient ation/#dfn-sandboxed-orientation-lock-browsing-context-flag. 47 SandboxOrientationLock = 1 << 10, // See https://w3c.github.io/screen-orient ation/#dfn-sandboxed-orientation-lock-browsing-context-flag.
48 SandboxAll = -1 // Mask with all bits set to 1. 48 SandboxAll = -1 // Mask with all bits set to 1.
49 }; 49 };
50 50
51 typedef int SandboxFlags; 51 typedef int SandboxFlags;
52 52
53 SandboxFlags parseSandboxPolicy(const String& policy, String& invalidTokensError Message); 53 SandboxFlags parseSandboxPolicy(const String& policy, String& invalidTokensError Message);
54 54
55 String parseSuboriginName(const String& policy, String& invalidTokensErrorMessag e);
56
55 } 57 }
56 58
57 #endif 59 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698