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

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 9609013: Use a hosted app's opener URL and not its origin to locate it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also fix content_shell Created 8 years, 9 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 | Annotate | Revision Log
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/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 bool worker) { 228 bool worker) {
229 } 229 }
230 230
231 void MockContentBrowserClient::CancelDesktopNotification( 231 void MockContentBrowserClient::CancelDesktopNotification(
232 int render_process_id, 232 int render_process_id,
233 int render_view_id, 233 int render_view_id,
234 int notification_id) { 234 int notification_id) {
235 } 235 }
236 236
237 bool MockContentBrowserClient::CanCreateWindow( 237 bool MockContentBrowserClient::CanCreateWindow(
238 const GURL& opener_url,
238 const GURL& source_origin, 239 const GURL& source_origin,
239 WindowContainerType container_type, 240 WindowContainerType container_type,
240 ResourceContext* context, 241 ResourceContext* context,
241 int render_process_id) { 242 int render_process_id) {
242 return true; 243 return true;
243 } 244 }
244 245
245 std::string MockContentBrowserClient::GetWorkerProcessTitle( 246 std::string MockContentBrowserClient::GetWorkerProcessTitle(
246 const GURL& url, ResourceContext* context) { 247 const GURL& url, ResourceContext* context) {
247 return std::string(); 248 return std::string();
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 #endif 326 #endif
326 327
327 #if defined(USE_NSS) 328 #if defined(USE_NSS)
328 crypto::CryptoModuleBlockingPasswordDelegate* 329 crypto::CryptoModuleBlockingPasswordDelegate*
329 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 330 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
330 return NULL; 331 return NULL;
331 } 332 }
332 #endif 333 #endif
333 334
334 } // namespace content 335 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698