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

Unified Diff: net/cookies/cookie_options.h

Issue 1258023002: Split 'CookieOptions' out into a .h/.cc file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NET_EXPORT 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/cookies/cookie_options.cc » ('j') | net/cookies/cookie_options.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_options.h
diff --git a/net/cookies/cookie_options.h b/net/cookies/cookie_options.h
index a7ed5a9aac64eca34e4223799a698fdd5581ee43..d3d7fd056b71a05cc92e322b10d8d8f7d47991a9 100644
--- a/net/cookies/cookie_options.h
+++ b/net/cookies/cookie_options.h
@@ -7,11 +7,13 @@
#ifndef NET_COOKIES_COOKIE_OPTIONS_H_
#define NET_COOKIES_COOKIE_OPTIONS_H_
+#include "base/time/time.h"
+#include "net/base/net_export.h"
#include "url/gurl.h"
namespace net {
-class CookieOptions {
+class NET_EXPORT CookieOptions {
public:
// Default is to exclude httponly completely, and exclude first-party from
// being read, which means:
@@ -21,10 +23,7 @@ class CookieOptions {
//
// If a first-party URL is set, then first-party cookies which match that URL
// will be returned.
- CookieOptions()
- : exclude_httponly_(true),
- include_first_party_only_(false),
- server_time_() {}
+ CookieOptions();
void set_exclude_httponly() { exclude_httponly_ = true; }
void set_include_httponly() { exclude_httponly_ = false; }
« no previous file with comments | « no previous file | net/cookies/cookie_options.cc » ('j') | net/cookies/cookie_options.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698