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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc

Issue 7438002: Deprecate Profile::GetDefaultRequestContext(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix other references. Created 9 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
Index: chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
index 217af7625f0eab12b7937a17b23586181765c96e..0cf46ff67e6d571947bd72f0d7ba97033df431e7 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc
@@ -52,7 +52,8 @@ bool IsGoogleGAIACookieInstalled() {
for (size_t i = 0; i < arraysize(kGAIACookieFilters); ++i) {
// Since we are running on the UI thread don't call GetURLRequestContext().
net::CookieStore* store =
- Profile::GetDefaultRequestContext()->DONTUSEME_GetCookieStore();
+ Profile::Deprecated::GetDefaultRequestContext()->
+ DONTUSEME_GetCookieStore();
GURL url(kGAIACookieFilters[i].url);
net::CookieOptions options;
options.set_include_httponly(); // The SID cookie might be httponly.

Powered by Google App Engine
This is Rietveld 408576698