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

Side by Side Diff: public/web/WebSecurityOrigin.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « public/web/WebMenuItemInfo.h ('k') | no next file » | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // Returns a string representation of the WebSecurityOrigin. The empty 86 // Returns a string representation of the WebSecurityOrigin. The empty
87 // WebSecurityOrigin is represented by "null". The representation of a 87 // WebSecurityOrigin is represented by "null". The representation of a
88 // non-empty WebSecurityOrigin resembles a standard URL. 88 // non-empty WebSecurityOrigin resembles a standard URL.
89 WEBKIT_EXPORT WebString toString() const; 89 WEBKIT_EXPORT WebString toString() const;
90 90
91 // Returns a string representation of this WebSecurityOrigin that can 91 // Returns a string representation of this WebSecurityOrigin that can
92 // be used as a file. Should be used in storage APIs only. 92 // be used as a file. Should be used in storage APIs only.
93 WEBKIT_EXPORT WebString databaseIdentifier() const; 93 WEBKIT_EXPORT WebString databaseIdentifier() const;
94 94
95 // Returns true if this WebSecurityOrigin can access usernames and 95 // Returns true if this WebSecurityOrigin can access usernames and
96 // passwords stored in password manager. 96 // passwords stored in password manager.
97 WEBKIT_EXPORT bool canAccessPasswordManager() const; 97 WEBKIT_EXPORT bool canAccessPasswordManager() const;
98 98
99 // Allows this WebSecurityOrigin access to local resources. 99 // Allows this WebSecurityOrigin access to local resources.
100 WEBKIT_EXPORT void grantLoadLocalResources() const; 100 WEBKIT_EXPORT void grantLoadLocalResources() const;
101 101
102 #if WEBKIT_IMPLEMENTATION 102 #if WEBKIT_IMPLEMENTATION
103 WebSecurityOrigin(const WTF::PassRefPtr<WebCore::SecurityOrigin>&); 103 WebSecurityOrigin(const WTF::PassRefPtr<WebCore::SecurityOrigin>&);
104 WebSecurityOrigin& operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>& ); 104 WebSecurityOrigin& operator=(const WTF::PassRefPtr<WebCore::SecurityOrigin>& );
105 operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const; 105 operator WTF::PassRefPtr<WebCore::SecurityOrigin>() const;
106 WebCore::SecurityOrigin* get() const; 106 WebCore::SecurityOrigin* get() const;
107 #endif 107 #endif
108 108
109 private: 109 private:
110 void assign(WebSecurityOriginPrivate*); 110 void assign(WebSecurityOriginPrivate*);
111 WebSecurityOriginPrivate* m_private; 111 WebSecurityOriginPrivate* m_private;
112 }; 112 };
113 113
114 } // namespace WebKit 114 } // namespace WebKit
115 115
116 #endif 116 #endif
OLDNEW
« no previous file with comments | « public/web/WebMenuItemInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698