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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 5254005: Do not reset the content settings delegate's cookies when a network error occurred. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/tab_contents
Patch Set: updates Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 // Resource ------------------------------------------------------------------ 319 // Resource ------------------------------------------------------------------
320 // Notifications of resource loading events. 320 // Notifications of resource loading events.
321 321
322 class Resource { 322 class Resource {
323 public: 323 public:
324 // The RenderView is starting a provisional load. 324 // The RenderView is starting a provisional load.
325 virtual void DidStartProvisionalLoadForFrame( 325 virtual void DidStartProvisionalLoadForFrame(
326 RenderViewHost* render_view_host, 326 RenderViewHost* render_view_host,
327 long long frame_id, 327 long long frame_id,
328 bool is_main_frame, 328 bool is_main_frame,
329 bool is_unreachable_web_data,
329 const GURL& url) = 0; 330 const GURL& url) = 0;
330 331
331 // Notification by the resource loading system (not the renderer) that it 332 // Notification by the resource loading system (not the renderer) that it
332 // has started receiving a resource response. This is different than 333 // has started receiving a resource response. This is different than
333 // DidStartProvisionalLoadForFrame above because this is called for every 334 // DidStartProvisionalLoadForFrame above because this is called for every
334 // resource (images, automatically loaded subframes, etc.) and provisional 335 // resource (images, automatically loaded subframes, etc.) and provisional
335 // loads are only for user-initiated navigations. 336 // loads are only for user-initiated navigations.
336 virtual void DidStartReceivingResourceResponse( 337 virtual void DidStartReceivingResourceResponse(
337 const ResourceRequestDetails& details) = 0; 338 const ResourceRequestDetails& details) = 0;
338 339
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 bool remember) {} 858 bool remember) {}
858 859
859 // Update the content restrictions, i.e. disable print/copy. 860 // Update the content restrictions, i.e. disable print/copy.
860 virtual void UpdateContentRestrictions(int restrictions) {} 861 virtual void UpdateContentRestrictions(int restrictions) {}
861 862
862 protected: 863 protected:
863 virtual ~RenderViewHostDelegate() {} 864 virtual ~RenderViewHostDelegate() {}
864 }; 865 };
865 866
866 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 867 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698