summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cookies_tree_model.h
Commit message (Collapse)AuthorAgeFilesLines
* Add OVERRIDE to chrome/browser/.avi@chromium.org2011-11-211-28/+28
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8612007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110939 0039d316-1c4b-4281-b951-d872f2087c98
* Adding CookieSettings for storing cookie content settings.marja@chromium.org2011-10-281-2/+2
| | | | | | | | | | | | | | | | Moving cookie-spesific logic from HostContentSettingsMap to CookieSettings. Making it explicit that the "is cookie session only" decision only depends on the primary url. Also removes the migration code for the obsolete kCookieBehavior preference. BUG=93335 TEST=CookieSettings.* Review URL: http://codereview.chromium.org/8383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107705 0039d316-1c4b-4281-b951-d872f2087c98
* When deleting storage through the cookies tree model, also update its cachejochen@chromium.org2011-08-181-60/+74
| | | | | | | | | | BUG=43249 TEST=CookiesTreeModelTest.RemoveAll Review URL: http://codereview.chromium.org/7676002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97245 0039d316-1c4b-4281-b951-d872f2087c98
* Creat BrowsingDataCookieHelper and CannedBrowsingDataCookieHelper for ↵ycxiao@chromium.org2011-08-121-10/+9
| | | | | | | | | | | | | | | logging cookies at UI thread. Moving from http://codereview.chromium.org/7355025/ BUG=XXXX TEST=BrowsingDataCookieHelperTest TBR=rdsmith Review URL: http://codereview.chromium.org/7601018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96569 0039d316-1c4b-4281-b951-d872f2087c98
* Adding usage entry to chrome://settings/cookies.tzik@chromium.org2011-08-091-6/+44
| | | | | | | | | | | | | BUG=88644,91816,91836 TEST='BrowsingDataQuotaHelperTest.*' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95607 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=95779 Review URL: http://codereview.chromium.org/7387007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95959 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95607 - Adding usage entry to chrome://settings/cookies.tzik@chromium.org2011-08-081-44/+6
| | | | | | | | | | | | | BUG=88644 TEST='BrowsingDataQuotaHelperTest.*' Review URL: http://codereview.chromium.org/7387007 TBR=tzik@chromium.org Review URL: http://codereview.chromium.org/7491085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95779 0039d316-1c4b-4281-b951-d872f2087c98
* Adding usage entry to chrome://settings/cookies.tzik@chromium.org2011-08-051-6/+44
| | | | | | | | | | BUG=88644 TEST='BrowsingDataQuotaHelperTest.*' Review URL: http://codereview.chromium.org/7387007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95607 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 95534 - Creat BrowsingDataCookieHelper and ↵yzshen@chromium.org2011-08-051-11/+12
| | | | | | | | | | | | | | CannedBrowsingDataCookieHelper for logging cookies at UI thread. BUG=XXX TEST=XXX Review URL: http://codereview.chromium.org/7355025 TBR=ycxiao@chromium.org Review URL: http://codereview.chromium.org/7491049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95575 0039d316-1c4b-4281-b951-d872f2087c98
* Creat BrowsingDataCookieHelper and CannedBrowsingDataCookieHelper for ↵ycxiao@chromium.org2011-08-041-12/+11
| | | | | | | | | | | logging cookies at UI thread. BUG=XXX TEST=XXX Review URL: http://codereview.chromium.org/7355025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95534 0039d316-1c4b-4281-b951-d872f2087c98
* Wrapping blocked filesystems into TabSpecificContentSettingsmkwst@chromium.org2011-05-271-4/+63
| | | | | | | | | | BUG=63703 TEST=TabSpecificContentSettings* in `unit_tests` Review URL: http://codereview.chromium.org/6966036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87006 0039d316-1c4b-4281-b951-d872f2087c98
* Have AppCache code go through the content embedder API for content settings ↵jam@chromium.org2011-05-081-0/+2
| | | | | | | | | checks. BUG=76793 Review URL: http://codereview.chromium.org/6951008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84586 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Group cookies by source field only in the collected cookiesjochen@chromium.org2011-03-171-1/+6
| | | | | | | | | | | dialog BUG=none TEST=none Review URL: http://codereview.chromium.org/6674055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78530 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a warning found by Clang:rsesek@chromium.org2011-02-071-9/+6
| | | | | | | | | | | | | | chrome/browser/cookies_tree_model.h:497:16: error: 'CookiesTreeModel::AddObserver' hides overloaded virtual function [-Woverloaded-virtual] Same with RemoveObserver(). BUG=72149 TEST=Clang compiles Review URL: http://codereview.chromium.org/6368130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74021 0039d316-1c4b-4281-b951-d872f2087c98
* Move models from app to ui/base/modelsben@chromium.org2011-01-141-7/+7
| | | | | | | | | BUG=none TEST=none TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71446 0039d316-1c4b-4281-b951-d872f2087c98
* Even more virtual method deinlining.erg@google.com2010-12-131-80/+28
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5741001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69041 0039d316-1c4b-4281-b951-d872f2087c98
* Make the cookie list a class (instead of a typedef inside CookieMonster)...jochen@chromium.org2010-12-031-1/+1
| | | | | | | | | | | ...so it can be forward declared BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5462002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68173 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Small nits; moving virtual methods to implementation.erg@google.com2010-10-081-6/+2
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3627002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61976 0039d316-1c4b-4281-b951-d872f2087c98
* Add IndexedDB to cookie tree.bauerb@chromium.org2010-09-241-17/+85
| | | | | | | | | | | XIB changes: Add another view with IndexedDB details to CookieDetailsView.xib. BUG=56248 TEST=CookiesTreeModelTest.*:CookiesDetailsTest.*:CookiesViewTest.*: Review URL: http://codereview.chromium.org/3429020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60470 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the wstring TreeModelNode::GetTitle() and rename GetTitleAsString16() ↵viettrungluu@chromium.org2010-08-301-11/+11
| | | | | | | | | | | to GetTitle(). BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3279005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57834 0039d316-1c4b-4281-b951-d872f2087c98
* Convert CookieTree...Node to not use the wstring GetTitle(), but instead ↵viettrungluu@chromium.org2010-08-261-23/+56
| | | | | | | | | | | GetTitleAsString16(). BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3146045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57527 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up unnecessary #includes of base/{scoped_ptr.h,string16.h}.viettrungluu@chromium.org2010-08-191-1/+1
| | | | | | | | | | | | Also fix a bunch of #includes. Folks, scoped_refptr<> is defined in base/ref_counted.h, not in base/scoped_ptr.h. BUG=none TEST=builds Review URL: http://codereview.chromium.org/3132024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56712 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56315 - [Gtk] Display the current content setting applying to a ↵jochen@chromium.org2010-08-181-5/+0
| | | | | | | | | | | | | | | | | | domain along with the domain. This patch only affectes the gtk ui. Here is what it looks like: http://imgur.com/g6Gox If third party cookies are blocked, a warning is shown. Next to each domain, the content setting is displayed that applies (or nothing if the default applies). When the user selects some domains and presses an button, the labels are updated accordingly. BUG=49826 TEST=unit_tests Review URL: http://codereview.chromium.org/3096001 TBR=jochen@chromium.org Review URL: http://codereview.chromium.org/3194004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56495 0039d316-1c4b-4281-b951-d872f2087c98
* [Gtk] Display the current content setting applying to a domain along with ↵jochen@chromium.org2010-08-171-0/+5
| | | | | | | | | | | | | | | the domain. This patch only affectes the gtk ui. Here is what it looks like: http://imgur.com/g6Gox If third party cookies are blocked, a warning is shown. Next to each domain, the content setting is displayed that applies (or nothing if the default applies). When the user selects some domains and presses an button, the labels are updated accordingly. BUG=49826 TEST=unit_tests Review URL: http://codereview.chromium.org/3096001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56315 0039d316-1c4b-4281-b951-d872f2087c98
* Add a session storage node to the cookies tree view for collected cookies.jochen@chromium.org2010-08-101-20/+90
| | | | | | | | | | | Furthermore, local storage and session storage accesses are recorded separately in the tab contents, so they can be displayed in the correct bucket. BUG=45230 TEST=none Review URL: http://codereview.chromium.org/3053052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55563 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Changed type CookieList to being a vector CanonicalCookies.rdsmith@google.com2010-07-211-5/+4
| | | | | | | | | | | Originally, it was a vector of pair<domain_string, CanonicalCookie>. TEST=Refactor; all relevant unit tests should still pass. BUG=8850 Review URL: http://codereview.chromium.org/2799057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53184 0039d316-1c4b-4281-b951-d872f2087c98
* Store creating url in origin nodes and use it for content settings.jochen@chromium.org2010-07-191-8/+15
| | | | | | | | | BUG=none TEST=Cookies*.* Review URL: http://codereview.chromium.org/3048002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52910 0039d316-1c4b-4281-b951-d872f2087c98
* compile fix.bauerb@chromium.org2010-07-191-6/+7
| | | | | | | | | | accidentally committed an old version. tbr=jochen Review URL: http://codereview.chromium.org/3044010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52889 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize CookiesTreeModel with a cookie monster instead of a profil.jochen@chromium.org2010-05-311-4/+2
| | | | | | | | | BUG=45230 TEST=unit_tests Review URL: http://codereview.chromium.org/2369001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48587 0039d316-1c4b-4281-b951-d872f2087c98
* Don't show extension state in cookie tree list.jochen@chromium.org2010-03-291-2/+0
| | | | | | | | | | BUG=38659 TEST=Unit tests in browsing_data_local_storage_helper_unittest.cc and browsing_data_database_helper_unittest.cc Review URL: http://codereview.chromium.org/1405002 Patch from Mattias Nissler. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42935 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up the content settings UI to the appcache.michaeln@chromium.org2010-03-051-6/+5
| | | | | | | | | | | | | * Populate the tree view with appcaches * Delete selected appcaches from the tree view * Delete the date range indicated in the browsing data remover TEST=manual BUG=34634 Review URL: http://codereview.chromium.org/660423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40796 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Reduce jank in the cookie manager by batching updates from the model.rsesek@chromium.org2010-03-021-0/+34
| | | | | | | | | | | | | | | | | Subclass TreeModelObserver specifically for the CookiesTreeModel so that we can send TreeModelBatchBegin() and BatchEnd() notifications before and after local storage, databases, and appcache entries load, respectively. This also rewrites CookiesTreeModelObserverBridge::FindCocoaNode() to do breadth-first search, rather than a pre-order traversal as we most often search for origin nodes, which are at depth 1. BUG=35134 TEST=Get a profile with 1K local storage entries. Chromium-->Preferences-->Under the Hood-->Content Settings-->Cookies should not be slow/janky. Review URL: http://codereview.chromium.org/660251 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40444 0039d316-1c4b-4281-b951-d872f2087c98
* Clearly identify extension and file:// resources in the cookie tree view.michaeln@chromium.org2010-02-271-0/+2
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/660236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40205 0039d316-1c4b-4281-b951-d872f2087c98
* Teach the cookie tree view and model about appcaches. Not hooked up to real ↵michaeln@chromium.org2010-02-261-82/+125
| | | | | | | | | | | | | data yet, but the view and model pieces are in place for windows and gtk (not yet done for the mac). Also adds a 'name' attribute to database details pane, cleans up the layout of the detail panes on windows. BUG=25977 TEST=manual Review URL: http://codereview.chromium.org/650110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40181 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for HTML5 databases to the cookie tree model.jochen@chromium.org2010-02-101-18/+98
| | | | | | | | | BUG=34633 TEST=create local databases, open cookie tree view from prefs. Review URL: http://codereview.chromium.org/596009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38635 0039d316-1c4b-4281-b951-d872f2087c98
* Adds local storage nodes to cookie tree model and cookies view.bulach@chromium.org2010-01-251-11/+94
| | | | | | | | BUG=none TEST=The show cookie dialog box should have a new node "local storage" when appropriate. When selected, it should display details of local storage (name, size on disk, last modified) in the details frame. Review URL: http://codereview.chromium.org/523139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37001 0039d316-1c4b-4281-b951-d872f2087c98
* Revert last 3 patches. Sorry guys. :-(jorlow@chromium.org2010-01-201-91/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36652 0039d316-1c4b-4281-b951-d872f2087c98
* Adds local storage nodes to cookie tree model and cookies view. jorlow@chromium.org2010-01-201-10/+91
| | | | | | | | | | | | BUG=none TEST=The show cookie dialog box should have a new node "local storage" when appropriate. When selected, it should display details of local storage (name, size on disk, last modified) in the details frame. Landing for Marcus Original CL: http://codereview.chromium.org/523139/show Review URL: http://codereview.chromium.org/546081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36644 0039d316-1c4b-4281-b951-d872f2087c98
* Adds back the ability to filter cookies by origin in the cookies options view.ian@chromium.org2009-11-251-0/+4
| | | | | | | | BUG=27657 TEST=Typing "google" in the search field pulls up origins containing "google" in their name Review URL: http://codereview.chromium.org/435024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33069 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: Convert Cookies options page from a list into a tree.mattm@chromium.org2009-11-111-2/+1
| | | | | | | | | | | Add gtk_tree::TreeAdapter class. BUG=26713 TEST=compare behavior to windows impl Review URL: http://codereview.chromium.org/371079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31732 0039d316-1c4b-4281-b951-d872f2087c98
* Converting the Cookies options page from a TableView to a TreeViewian@chromium.org2009-11-061-0/+207
so that we can add in Database, LocalStorage, and Appcache next to the cookies for an origin. BUG=26713 TEST=cookies_tree_model_unittest.cc Review URL: http://codereview.chromium.org/365005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31207 0039d316-1c4b-4281-b951-d872f2087c98