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

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

Issue 1231643010: Remove 'blink::WebSerializedOrigin' (6/6) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@webnotificationmanager
Patch Set: Created 5 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
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 BLINK_PLATFORM_EXPORT WebString databaseIdentifier() const; 99 BLINK_PLATFORM_EXPORT WebString databaseIdentifier() const;
100 100
101 // Returns true if this WebSecurityOrigin can access usernames and 101 // Returns true if this WebSecurityOrigin can access usernames and
102 // passwords stored in password manager. 102 // passwords stored in password manager.
103 BLINK_PLATFORM_EXPORT bool canAccessPasswordManager() const; 103 BLINK_PLATFORM_EXPORT bool canAccessPasswordManager() const;
104 104
105 // Allows this WebSecurityOrigin access to local resources. 105 // Allows this WebSecurityOrigin access to local resources.
106 BLINK_PLATFORM_EXPORT void grantLoadLocalResources() const; 106 BLINK_PLATFORM_EXPORT void grantLoadLocalResources() const;
107 107
108 #if INSIDE_BLINK 108 #if INSIDE_BLINK
109 BLINK_PLATFORM_EXPORT WebSecurityOrigin(SecurityOrigin*);
109 BLINK_PLATFORM_EXPORT WebSecurityOrigin(const WTF::PassRefPtr<SecurityOrigin >&); 110 BLINK_PLATFORM_EXPORT WebSecurityOrigin(const WTF::PassRefPtr<SecurityOrigin >&);
110 BLINK_PLATFORM_EXPORT WebSecurityOrigin& operator=(const WTF::PassRefPtr<Sec urityOrigin>&); 111 BLINK_PLATFORM_EXPORT WebSecurityOrigin& operator=(const WTF::PassRefPtr<Sec urityOrigin>&);
111 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<SecurityOrigin>() const; 112 BLINK_PLATFORM_EXPORT operator WTF::PassRefPtr<SecurityOrigin>() const;
112 BLINK_PLATFORM_EXPORT SecurityOrigin* get() const; 113 BLINK_PLATFORM_EXPORT SecurityOrigin* get() const;
113 #endif 114 #endif
114 115
115 private: 116 private:
116 void assign(WebSecurityOriginPrivate*); 117 void assign(WebSecurityOriginPrivate*);
117 WebSecurityOriginPrivate* m_private; 118 WebSecurityOriginPrivate* m_private;
118 }; 119 };
119 120
120 } // namespace blink 121 } // namespace blink
121 122
122 #endif 123 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698