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

Side by Side Diff: third_party/WebKit/public/platform/WebCookieJar.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef WebCookieJar_h 31 #ifndef WebCookieJar_h
32 #define WebCookieJar_h 32 #define WebCookieJar_h
33 33
34 #include "WebString.h" 34 #include "WebString.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class WebURL; 38 class WebURL;
39 struct WebCookie;
40 template <typename T>
41 class WebVector;
42 39
43 class WebCookieJar { 40 class WebCookieJar {
44 public: 41 public:
45 virtual void setCookie(const WebURL&, 42 virtual void setCookie(const WebURL&,
46 const WebURL& firstPartyForCookies, 43 const WebURL& firstPartyForCookies,
47 const WebString& cookie) {} 44 const WebString& cookie) {}
48 virtual WebString cookies(const WebURL&, const WebURL& firstPartyForCookies) { 45 virtual WebString cookies(const WebURL&, const WebURL& firstPartyForCookies) {
49 return WebString(); 46 return WebString();
50 } 47 }
51 virtual bool cookiesEnabled(const WebURL&, 48 virtual bool cookiesEnabled(const WebURL&,
52 const WebURL& firstPartyForCookies) { 49 const WebURL& firstPartyForCookies) {
53 return true; 50 return true;
54 } 51 }
55 52
56 protected: 53 protected:
57 ~WebCookieJar() {} 54 ~WebCookieJar() {}
58 }; 55 };
59 56
60 } // namespace blink 57 } // namespace blink
61 58
62 #endif 59 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebContentLayerClient.h ('k') | third_party/WebKit/public/platform/WebDisplayItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698