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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.cc

Issue 24734007: Encrypt all stored cookies on selected operating systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: scan raw DB file for values to ensure encyrption Created 7 years, 2 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
Index: chrome/browser/safe_browsing/safe_browsing_service.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index 03b4b54c787b195e2651c7c2a29cd43896bdf39d..85da4cb93d8852681345d3c302358b39f1eaaf3b 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -37,6 +37,7 @@
#include "chrome/common/url_constants.h"
#include "components/startup_metric_utils/startup_metric_utils.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/cookie_crypto_delegate.h"
erikwright (departed) 2013/10/22 23:58:14 forward decl
bcwhite 2013/10/23 19:36:23 Done.
#include "content/public/browser/cookie_store_factory.h"
#include "content/public/browser/notification_service.h"
#include "net/cookies/cookie_monster.h"
@@ -310,7 +311,8 @@ void SafeBrowsingService::InitURLRequestContextOnIOThread(
false,
NULL,
NULL,
- scoped_refptr<base::SequencedTaskRunner>()));
+ scoped_refptr<base::SequencedTaskRunner>(),
+ scoped_ptr<content::CookieCryptoDelegate>()));
url_request_context_.reset(new net::URLRequestContext);
// |system_url_request_context_getter| may be NULL during tests.

Powered by Google App Engine
This is Rietveld 408576698