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

Side by Side Diff: content/renderer/mock_content_renderer_client.cc

Issue 7764014: Remove handling for the ViewHostMsg_GetCookies and ViewHostMsg_SetCookies from Chrome. These mess... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/renderer/mock_content_renderer_client.h" 5 #include "content/renderer/mock_content_renderer_client.h"
6 6
7 #include <string> 7 #include <string>
8 #include "v8/include/v8.h" 8 #include "v8/include/v8.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void MockContentRendererClient::PrefetchHostName( 97 void MockContentRendererClient::PrefetchHostName(
98 const char* hostname, size_t length) { 98 const char* hostname, size_t length) {
99 } 99 }
100 100
101 bool MockContentRendererClient::ShouldOverridePageVisibilityState( 101 bool MockContentRendererClient::ShouldOverridePageVisibilityState(
102 const RenderView* render_view, 102 const RenderView* render_view,
103 WebKit::WebPageVisibilityState* override_state) const { 103 WebKit::WebPageVisibilityState* override_state) const {
104 return false; 104 return false;
105 } 105 }
106 106
107 bool MockContentRendererClient::HandleGetCookieRequest(
108 RenderView* sender,
109 const GURL& url,
110 const GURL& first_party_for_cookies,
111 std::string* cookies) {
112 return false;
113 }
114
115 bool MockContentRendererClient::HandleSetCookieRequest(
116 RenderView* sender,
117 const GURL& url,
118 const GURL& first_party_for_cookies,
119 const std::string& value) {
120 return false;
121 }
107 } // namespace content 122 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.h ('k') | content/renderer/renderer_webcookiejar_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698