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

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

Issue 2370001: Store blocked cookies in the tab contents. (Closed)
Patch Set: updates Created 10 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 unified diff | Download patch
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_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 void OnCSSInserted(); 634 void OnCSSInserted();
635 void OnPageContents(const GURL& url, 635 void OnPageContents(const GURL& url,
636 int32 page_id, 636 int32 page_id,
637 const string16& contents, 637 const string16& contents,
638 const std::string& language); 638 const std::string& language);
639 void OnPageTranslated(int32 page_id, 639 void OnPageTranslated(int32 page_id,
640 const std::string& original_lang, 640 const std::string& original_lang,
641 const std::string& translated_lang, 641 const std::string& translated_lang,
642 TranslateErrors::Type error_type); 642 TranslateErrors::Type error_type);
643 void OnContentBlocked(ContentSettingsType type); 643 void OnContentBlocked(ContentSettingsType type);
644 void OnWebDatabaseAccessed(const GURL& url,
645 const string16& name,
646 const string16& display_name,
647 unsigned long estimated_size,
648 bool blocked_by_policy);
644 649
645 private: 650 private:
646 friend class TestRenderViewHost; 651 friend class TestRenderViewHost;
647 652
648 // The SiteInstance associated with this RenderViewHost. All pages drawn 653 // The SiteInstance associated with this RenderViewHost. All pages drawn
649 // in this RenderViewHost are part of this SiteInstance. Should not change 654 // in this RenderViewHost are part of this SiteInstance. Should not change
650 // over time. 655 // over time.
651 scoped_refptr<SiteInstance> instance_; 656 scoped_refptr<SiteInstance> instance_;
652 657
653 // Our delegate, which wants to know about changes in the RenderView. 658 // Our delegate, which wants to know about changes in the RenderView.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 int64 session_storage_namespace_id_; 715 int64 session_storage_namespace_id_;
711 716
712 // Whether this render view will be used for extensions. This controls 717 // Whether this render view will be used for extensions. This controls
713 // what process type we use. 718 // what process type we use.
714 bool is_extension_process_; 719 bool is_extension_process_;
715 720
716 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 721 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
717 }; 722 };
718 723
719 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 724 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698