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

Side by Side Diff: Source/core/page/SecurityOrigin.h

Issue 14801011: Removed unused Document forward declaration+include from SecurityOrigin (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/page/SecurityOrigin.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #ifndef SecurityOrigin_h 29 #ifndef SecurityOrigin_h
30 #define SecurityOrigin_h 30 #define SecurityOrigin_h
31 31
32 #include <wtf/ThreadSafeRefCounted.h> 32 #include <wtf/ThreadSafeRefCounted.h>
33 #include <wtf/text/WTFString.h> 33 #include <wtf/text/WTFString.h>
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 class Document;
38 class KURL; 37 class KURL;
39 38
40 class SecurityOrigin : public ThreadSafeRefCounted<SecurityOrigin> { 39 class SecurityOrigin : public ThreadSafeRefCounted<SecurityOrigin> {
41 public: 40 public:
42 enum Policy { 41 enum Policy {
43 AlwaysDeny = 0, 42 AlwaysDeny = 0,
44 AlwaysAllow, 43 AlwaysAllow,
45 Ask 44 Ask
46 }; 45 };
47 46
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 bool m_universalAccess; 219 bool m_universalAccess;
221 bool m_domainWasSetInDOM; 220 bool m_domainWasSetInDOM;
222 bool m_canLoadLocalResources; 221 bool m_canLoadLocalResources;
223 bool m_enforceFilePathSeparation; 222 bool m_enforceFilePathSeparation;
224 bool m_needsDatabaseIdentifierQuirkForFiles; 223 bool m_needsDatabaseIdentifierQuirkForFiles;
225 }; 224 };
226 225
227 } // namespace WebCore 226 } // namespace WebCore
228 227
229 #endif // SecurityOrigin_h 228 #endif // SecurityOrigin_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/page/SecurityOrigin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698