1 // Copyright (c) 2014 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef XWALK_APPLICATION_COMMON_SECURITY_POLICY_H_
6 #define XWALK_APPLICATION_COMMON_SECURITY_POLICY_H_
10 namespace application {
12 class SecurityPolicy {
19 SecurityPolicy(const GURL& url, bool subdomains);
20 const GURL& url() const { return url_; }
21 bool subdomains() const { return subdomains_; }
28 } // namespace application
31 #endif // XWALK_APPLICATION_COMMON_SECURITY_POLICY_H_