~osomon/oxide/im-fake-key-events

« back to all changes in this revision

Viewing changes to shared/browser/oxide_browser_context_impl.cc

  • Committer: Chris Coulson
  • Date: 2014-04-01 11:25:14 UTC
  • mfrom: (438.2.2 trunk)
  • Revision ID: chris.coulson@canonical.com-20140401112514-9gtj72mbx5f05nj5
Add WebContext.sessionCookieMode

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    // FIXME: Get from translations
37
37
    accept_langs_("en-us,en"),
38
38
    cookie_policy_(net::StaticCookiePolicy::ALLOW_ALL_COOKIES),
 
39
    session_cookie_mode_(params.session_cookie_mode),
39
40
    popup_blocker_enabled_(true) {}
40
41
 
41
42
net::StaticCookiePolicy::Type BrowserContextIODataImpl::GetCookiePolicy() const {
49
50
  cookie_policy_ = cookie_policy;
50
51
}
51
52
 
 
53
content::CookieStoreConfig::SessionCookieMode
 
54
BrowserContextIODataImpl::GetSessionCookieMode() const {
 
55
  return session_cookie_mode_;
 
56
}
 
57
 
52
58
bool BrowserContextIODataImpl::IsPopupBlockerEnabled() const {
53
59
  return popup_blocker_enabled_;
54
60
}