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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 1110323005: Expose SW accesses in "Cookies set by this page" UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 static gfx::ImageSkia* empty = new gfx::ImageSkia(); 117 static gfx::ImageSkia* empty = new gfx::ImageSkia();
118 return empty; 118 return empty;
119 } 119 }
120 120
121 bool ContentBrowserClient::AllowAppCache(const GURL& manifest_url, 121 bool ContentBrowserClient::AllowAppCache(const GURL& manifest_url,
122 const GURL& first_party, 122 const GURL& first_party,
123 ResourceContext* context) { 123 ResourceContext* context) {
124 return true; 124 return true;
125 } 125 }
126 126
127 bool ContentBrowserClient::AllowServiceWorker( 127 bool ContentBrowserClient::AllowServiceWorker(const GURL& scope,
128 const GURL& scope, 128 const GURL& document_url,
129 const GURL& document_url, 129 content::ResourceContext* context,
130 content::ResourceContext* context) { 130 int render_process_id,
131 int render_frame_id) {
131 return true; 132 return true;
132 } 133 }
133 134
134 bool ContentBrowserClient::AllowGetCookie(const GURL& url, 135 bool ContentBrowserClient::AllowGetCookie(const GURL& url,
135 const GURL& first_party, 136 const GURL& first_party,
136 const net::CookieList& cookie_list, 137 const net::CookieList& cookie_list,
137 ResourceContext* context, 138 ResourceContext* context,
138 int render_process_id, 139 int render_process_id,
139 int render_frame_id) { 140 int render_frame_id) {
140 return true; 141 return true;
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 345
345 #if defined(VIDEO_HOLE) 346 #if defined(VIDEO_HOLE)
346 ExternalVideoSurfaceContainer* 347 ExternalVideoSurfaceContainer*
347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 348 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
348 WebContents* web_contents) { 349 WebContents* web_contents) {
349 return nullptr; 350 return nullptr;
350 } 351 }
351 #endif 352 #endif
352 353
353 } // namespace content 354 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698