summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_settings
Commit message (Collapse)AuthorAgeFilesLines
* Mouse lock content setting back-end (no UI)scheib@chromium.org2011-10-223-1/+9
| | | | | | | | | | | | BUG=100677 TEST=Manual test in ppapi/examples/mouse_lock; enter full screen and mouse lock; prompts should appear only first time. R=jochen@chromium.org, pkasting@chromium.org, yzshen@chromium.org Review URL: http://codereview.chromium.org/8354026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106821 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing the "lock is not held" assertions in PrefProvider.marja@chromium.org2011-10-202-48/+44
| | | | | | | | | | | | | It is ok if another thread holds the lock; what we want to assert is that this thread doesn't hold it. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8342071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106512 0039d316-1c4b-4281-b951-d872f2087c98
* Make NotificationService an interface in the content namespace, and switch ↵jam@chromium.org2011-10-196-20/+20
| | | | | | | | | callers to use it. Move the implementation to content/browser. Stop creating it in all child processes since it's only used in the browser. BUG=98716 Review URL: http://codereview.chromium.org/8342048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106403 0039d316-1c4b-4281-b951-d872f2087c98
* Take the content settings set by extensions into account in the default ↵marja@chromium.org2011-10-193-65/+61
| | | | | | | | | | | | | | | setting UI. If an extension sets a (wildcard, wildcard) content setting, disable the default setting UI and display a banner. BUG=NONE TEST=manual Review URL: http://codereview.chromium.org/8333015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106289 0039d316-1c4b-4281-b951-d872f2087c98
* Check for default content setting pattern when requiring user authorization ↵bauerb@chromium.org2011-10-194-108/+105
| | | | | | | | | | | | | | for plug-ins. We now check in the renderer if a plug-in is allowed by default, which is the case if the matching patterns are wildcards. BUG=100581 TEST=see bug Review URL: http://codereview.chromium.org/8334020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106270 0039d316-1c4b-4281-b951-d872f2087c98
* Move notification_source from content/common to content/browser/public and ↵jam@chromium.org2011-10-194-23/+24
| | | | | | | | put it into the content namespace. BUG=98716 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106203 0039d316-1c4b-4281-b951-d872f2087c98
* Move NotificationObserver, NotificationSource, and NotificationDetails to ↵jam@chromium.org2011-10-199-57/+59
| | | | | | | | | | | content/public/browser. This patch got way bigger than I wanted, but once I moved NotificationDetails, I figured I might as well mvoe the others since they're in the same files. In hindsight, I should have converted a subset of files at a time by leaving a using statement in the header. BUG=98716 TBR=joi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106196 0039d316-1c4b-4281-b951-d872f2087c98
* Don't return settings from DefaultProvider for compound content types.bauerb@chromium.org2011-10-182-24/+16
| | | | | | | | | | BUG=99949 TEST=no dcheck in ssl client certificate selection Review URL: http://codereview.chromium.org/8283034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106052 0039d316-1c4b-4281-b951-d872f2087c98
* Don't return content settings from DefaultProvider for non-empty resource ↵bauerb@chromium.org2011-10-172-5/+11
| | | | | | | | | | | | identifiers. BUG=100273 TEST=content setting exceptions work Review URL: http://codereview.chromium.org/8274033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105809 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup + comments which should've been in revision 105781.marja@chromium.org2011-10-172-9/+11
| | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8314020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105792 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring: Iterating content setting rules.marja@chromium.org2011-10-1725-715/+918
| | | | | | | | | | | | | Unify the logic behind HostContentSettingsMap::GetSettingsForOneType and HostContentSettingsMap::GetContentSetting. BUG=63656 TEST=NONE Review URL: http://codereview.chromium.org/7982028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105781 0039d316-1c4b-4281-b951-d872f2087c98
* Remove an unnecessary comparison in ↵rsleevi@chromium.org2011-10-171-4/+2
| | | | | | | | | | | | | | OriginIdentifierValueMap::EntryMapKey::operator< Originally reported by viva64 using PVS Studio ( http://www.viva64.com/en/b/0113/ Fragment N8) BUG=100213 TEST=none Review URL: http://codereview.chromium.org/8273023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105763 0039d316-1c4b-4281-b951-d872f2087c98
* Implement fullscreen info bubble on Win and Mac.jeremya@chromium.org2011-10-154-1/+10
| | | | | | | | | | | | | | | | When a site enters fullscreen a bubble should appear, both to give the user the option to exit fullscreen and to inform them that the site has entered fullscreen. This patch implements that behaviour on Windows and Mac. XIB changes: (FullScreenExitBubble.xib) * Added explanatory text field. * Added "allow" and "deny" buttons. * Changed from View into Window. BUG=73923 TEST= Review URL: http://codereview.chromium.org/7740044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105649 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_switches to content\public\common.jam@chromium.org2011-10-131-1/+1
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8277018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105389 0039d316-1c4b-4281-b951-d872f2087c98
* Allow resource identifiers in content settings.bauerb@chromium.org2011-10-138-144/+66
| | | | | | | | | | | | Plug-in specific content settings can only be set via the extension API. The --enable-resource-content-settings switch enables them in user preferences. BUG=78428 TEST=none Review URL: http://codereview.chromium.org/8202004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105358 0039d316-1c4b-4281-b951-d872f2087c98
* Use raw pointers instead of linked_ptr for the HostContentSettingsMap ↵bauerb@chromium.org2011-10-122-42/+42
| | | | | | | | | | | | | | provider map. linked_ptr isn't thread safe, and we don't really need the automatic destruction. BUG=100020 TEST=no race condition Review URL: http://codereview.chromium.org/8245002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105135 0039d316-1c4b-4281-b951-d872f2087c98
* Deadlock fix for PrefProvider. It was sending out notifications while ↵marja@chromium.org2011-10-123-66/+156
| | | | | | | | | | | | | | | holding its lock. This causes a problem when another provider is listening to the notifications and notifying the upper layer. The upper layer then queries settings from the original PrefProvider which is holding the lock. BUG=chromiumos:17760 TEST=PrefProviderTest.Deadlock Review URL: http://codereview.chromium.org/8233005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105071 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed interaction of JavascriptEnabled and DefaultJavascriptSetting policies.joaodasilva@chromium.org2011-10-1218-68/+37
| | | | | | | | | | | | | | | | | Also shows the "managed-by-admin" banner when JavascriptEnabled is forced to false. The pyauto test for JavascriptEnabled has been enabled again. Did some cleanups on content_settings/ while fixing this. BUG=97754,97749 TEST=policy_prefs_ui.py passes Review URL: http://codereview.chromium.org/8236001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104995 0039d316-1c4b-4281-b951-d872f2087c98
* Remove content settings default providers from the host content settings map. marja@chromium.org2011-10-1020-1219/+1124
| | | | | | | | | | | | | | | | | Add a DefaultProvider for user default settings and integrate the DefaultPolicyProvider into the PolicyProvider. The real work was done by markusheintz@chromium.org and the original CL is http://codereview.chromium.org/7976032/ BUG=63656 TEST=host_content_settings_map_unittest.cc, content_settings_policy_provider_unittest.cc, content_settings_default_provider_unittest.cc Review URL: http://codereview.chromium.org/8137024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104704 0039d316-1c4b-4281-b951-d872f2087c98
* Deadlock fix for PrefDefaultProvider.marja@chromium.org2011-10-071-11/+19
| | | | | | | | | | | | | It used to send out notifications while holding its lock, and the upper layer called its getters when receiving the notification -> deadlock. This was recently exposed by my change (revision 103260) which made the UI listen to these notifications. BUG=99315 TEST=Manual; see bug Review URL: http://codereview.chromium.org/8171007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104450 0039d316-1c4b-4281-b951-d872f2087c98
* OriginIdentifierValueMap refactoring: Change the internal storage from a ↵marja@chromium.org2011-09-2916-206/+312
| | | | | | | | | | | | list to a map. BUG=63656 TEST=OriginIdentifierValueMapTest.{IterateEmpty, IterateNonempty}, existing tests: OriginIdentifierValueMapTest.*, PrefProviderTest.*, PolicyProviderTest.* Review URL: http://codereview.chromium.org/7990003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103266 0039d316-1c4b-4281-b951-d872f2087c98
* Use OriginIdentifierValueMap internally in ExtensionContentSettingsStore.bauerb@chromium.org2011-09-237-65/+80
| | | | | | | | | | | | | | Plus some cleanups: * Use a lock in PolicyProvider::GetContentSettingValue * Sanity checks when converting a Value to a ContentSetting. BUG=88533 TEST=unit tests Review URL: http://codereview.chromium.org/7992004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102515 0039d316-1c4b-4281-b951-d872f2087c98
* Moving ContentSettingsPattern and ContentSettingsPatternParser from ↵marja@chromium.org2011-09-2114-1882/+9
| | | | | | | | | | | | | chrome/browser/content_settings to chrome/common. This is needed for transmitting image-related content settings to the renderer. BUG=81179 TEST=NONE Review URL: http://codereview.chromium.org/7885006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102088 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeRenderViewHostTestHarness to get rid of the dependency from RVHTH ↵jochen@chromium.org2011-09-141-4/+3
| | | | | | | | | | | to profile BUG=90443 TEST=everything still works Review URL: http://codereview.chromium.org/7892007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101037 0039d316-1c4b-4281-b951-d872f2087c98
* Move the ViewHostMsg_AppCacheAccessed message handling out of Chrome and ↵ananta@chromium.org2011-09-082-13/+13
| | | | | | | | | | | | | | | replace it with a notification call on the TabContentsObserver interface. This is fine as this message is just a notification that the app cache was accessed. Continuing changes to get rid of the pattern of IPC messages spanning across content and chrome. BUG=87335 TEST=No change in functionality Review URL: http://codereview.chromium.org/7857003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100251 0039d316-1c4b-4281-b951-d872f2087c98
* Add policies for notifications exceptions.markusheintz@chromium.org2011-09-081-1/+17
| | | | | | | | | | BUG=63182 TEST=none Review URL: http://codereview.chromium.org/7851015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100204 0039d316-1c4b-4281-b951-d872f2087c98
* Address post commit comments for CL http://codereview.chromium.org/7828022/markusheintz@chromium.org2011-09-082-13/+11
| | | | | | | | | BUG=81825 TEST=none Review URL: http://codereview.chromium.org/7837038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100147 0039d316-1c4b-4281-b951-d872f2087c98
* - Add a method to the HostContentSettings map to return the |Value| of a ↵markusheintz@chromium.org2011-09-056-54/+179
| | | | | | | | | | | | | | | | | | | | | | content setting instead of the type ContentSetting. The HostContentSettingsMap should allow storing arbitrary |Value|s instead of only |ContentSettings| for content settings types (BTW: content settings should be called website settings). This allows to add other content settings type(website settings types) to the host content settings map that require more complex settings than ALLOW, BLOCK, ASK, ... . CONTENT_TYPE_AUTO_SELECT_CERTIFICATE is one example of such a content settings type. CONTENT_TYPE_AUTO_SELECT_CERTIFICATE requires a map with certain criteria that a certificate must match to be selected. - Add filter to the AutoSelectCertificate policy. Instead of only giving a list of origin patterns that specify origins for which client certificates should be auto selected, each origin pattern now also requires a filter with certificate criteria. This is the second CL in a series and follows CL http://codereview.chromium.org/7831004/ BUG=63656, 81825 TEST=host_content_settings_map_unittest.cc, content_settings_policy_provider_unittests.cc TBR=pam@chromium.org Review URL: http://codereview.chromium.org/7828022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99672 0039d316-1c4b-4281-b951-d872f2087c98
* Add a method to the content_settings::ProviderInterface to return the ↵markusheintz@chromium.org2011-09-0512-22/+183
| | | | | | | | | | | | | | | | | | |Value| of a content setting instead of a |ContentSetting| type. The HostContentSettingsMap should allow storing arbitrary |Value|s instead of only |ContentSettings| for content settings types (BTW: content settings should be called website settings). This allows to add other content settings type(website settings types) to the host content settings map that require more complex settings than ALLOW, BLOCK, ASK, ... . CONTENT_TYPE_AUTO_SELECT_CERTIFICATE is one example of such a content settings type. CONTENT_TYPE_AUTO_SELECT_CERTIFICATE requires a map with certain criteria that a certificate must match to be selected. This is the first CL to migrate the content settings code to user |Value|s instead of |ContentSetting|s. BUG=63656, 81825 TEST=host_content_settings_map_unittest.cc, content_settings_pref_provider.cc, content_settings_policy_provider.cc, content_settings_provider_unittest.cc Review URL: http://codereview.chromium.org/7831004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99639 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ContentSettingsRule and ContentSettingsRules types in ↵markusheintz@chromium.org2011-09-052-24/+6
| | | | | | | | | | | | | content_settings::PolicyProvider. The change removes one step in the process of loading managed (= by policy) content settings form the preferences that store the policy values. Instead of loading the content settings into a vector and passing this vector to another method that stores the content settings in the in-memory map , content settings are directly stored in the in-memory map. This eliminates one pass over all content settings. That is not needed. BUG=63656 TEST=content_settings_policy_provider_unittests.cc Review URL: http://codereview.chromium.org/7811019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99632 0039d316-1c4b-4281-b951-d872f2087c98
* Move web intents switch to content_switches.gbillock@chromium.org2011-09-021-0/+1
| | | | | | | | | | | R=jam@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/7821010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99292 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate Obsolete NotificationsSettings and remove ↵markusheintz@chromium.org2011-08-317-531/+337
| | | | | | | | | | | | | | | content_settings::NotificationsProvider. BUG=63656 TEST=host_content_settings_map_unittest.cc, content_settings_pref_provider.cc, desktop_notifications_service_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98938 Review URL: http://codereview.chromium.org/7655019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98960 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused static initializer in content_settings_policy_provider.ccmarkusheintz@chromium.org2011-08-311-5/+0
| | | | | | | | | BUG=94879 TEST=none Review URL: http://codereview.chromium.org/7785024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98959 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98938 - Migrate Obsolete NotificationsSettings and remove ↵markusheintz@chromium.org2011-08-317-337/+531
| | | | | | | | | | | | | | | | content_settings::NotificationsProvider. BUG=63656 TEST=host_content_settings_map_unittest.cc, content_settings_pref_provider.cc, desktop_notifications_service_unittest.cc Review URL: http://codereview.chromium.org/7655019 TBR=markusheintz@chromium.org Review URL: http://codereview.chromium.org/7810017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98941 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate Obsolete NotificationsSettings and remove ↵markusheintz@chromium.org2011-08-317-531/+337
| | | | | | | | | | | | | content_settings::NotificationsProvider. BUG=63656 TEST=host_content_settings_map_unittest.cc, content_settings_pref_provider.cc, desktop_notifications_service_unittest.cc Review URL: http://codereview.chromium.org/7655019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98938 0039d316-1c4b-4281-b951-d872f2087c98
* Switch ChromeTestSuite to the same convention as ContentTestSuite:phajdan.jr@chromium.org2011-08-273-8/+5
| | | | | | | | | | | | | | | | | the test suite implicitly provides global resources for each test, but they're re-initialized between each test. The performance overhead is negligible. We need that to continue moving tests from unit_tests to content_unittests. Because of shared test fixtures the test suites need to be compatible. BUG=90443 Review URL: http://codereview.chromium.org/7744039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98526 0039d316-1c4b-4281-b951-d872f2087c98
* * Wire up the delete command in the cookie tree UI to actually delete ↵michaeln@google.com2011-08-251-1/+1
| | | | | | | | | | | | | | | indexedDBs. Also cleaned up some internal structures used by the UI layer. * Clean up some loose ends around the transition from sqlite backing to leveldb backing. Code had not been updated to reflect that the indexedDBpath is a directory path instead of a file path. * Fix a problem with reporting inconsistent size value to the quota manager. Now we always compute deltas against a cached size value and don't change the cached size value w/o reporting a delta. * Fix a problem with erroneously accessing the filesystem for queries about indexed db usage when working with incognito profiles. BUG=56249,76641 Review URL: http://codereview.chromium.org/7692016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98352 0039d316-1c4b-4281-b951-d872f2087c98
* Don't sync or migrate obsolete preferences in the incognito host content ↵markusheintz@chromium.org2011-08-251-12/+14
| | | | | | | | | | | | settings map. BUG=93366 TEST=TODO Review URL: http://codereview.chromium.org/7740011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98224 0039d316-1c4b-4281-b951-d872f2087c98
* - Add a new content settings type AUTO-SELECT-CERTIFICATE. The default value ↵markusheintz@chromium.org2011-08-245-4/+134
| | | | | | | | | | | | | | | | | | of the new content settings type AUTO-SELECT-CERTIFICATE is CONTENT_SETTING_ASK - Add a policy for whitelisting origins for which client certificates should be auto selected. - Add a policy to set a default setting for the auto select certificates setting. BUG=81825 TEST=host_content_settings_map_unittest.cc, content_settings_policy_provider_unit_test.cc, configuration_policy_pref_store_unittest.cc Review URL: http://codereview.chromium.org/7537025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98026 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a few places that should know about CONTENT_SETTINGS_TYPE_INTENTSgroby@chromium.org2011-08-241-0/+1
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7711016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97970 0039d316-1c4b-4281-b951-d872f2087c98
* The following methods of the HostContentSettingsMaps are not supposed to be ↵markusheintz@chromium.org2011-08-222-26/+25
| | | | | | | | | | | | | | | used by external code: - GetNonDefaultContentSetting - GetNonDefaultContentSettings BUG=63656 TEST=host_content_settings_map_unittest.cc Review URL: http://codereview.chromium.org/7663007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97619 0039d316-1c4b-4281-b951-d872f2087c98
* Prefix all IPC messages used by src\chrome with Chrome. For e.g ↵ananta@chromium.org2011-08-191-4/+4
| | | | | | | | | | | | | | | ChromeViewMsg_, ChromeViewHostMsg, etc. This makes it easier to identify which messages are specific to content and chrome. This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need to be handled as API calls. BUG=87335 Review URL: http://codereview.chromium.org/7631063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WebIntents blacklist UI (redo of #7645034)groby@chromium.org2011-08-183-0/+16
| | | | | | | | | | BUG=ContentSettingBubbleControllerTest.Init TEST=Run Chromium with -enable-web-intents, go to content settings/manage exceptions, see UI Review URL: http://codereview.chromium.org/7670052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97357 0039d316-1c4b-4281-b951-d872f2087c98
* Don't update the obsolete geolocation preference while migrating it. markusheintz@chromium.org2011-08-181-5/+5
| | | | | | | | | | | BUG=93366 TEST=content_settings_pref_provider_unittest.cc host_content_settings_map_unittest.cc Review URL: http://codereview.chromium.org/7655043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97347 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 4)thestig@chromium.org2011-08-181-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7670016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97286 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97190 - Enable WebIntents blacklist UIrvargas@google.com2011-08-173-16/+0
| | | | | | | | | | | | | | | hidden behind -enable-web-intents commandline flag BUG=none TEST=Run Chromium with -enable-web-intents, go to content settings/manage exceptions, see UI Review URL: http://codereview.chromium.org/7645034 TBR=groby@chromium.org Review URL: http://codereview.chromium.org/7631030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97217 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WebIntents blacklist UIgroby@chromium.org2011-08-173-0/+16
| | | | | | | | | | | | hidden behind -enable-web-intents commandline flag BUG=none TEST=Run Chromium with -enable-web-intents, go to content settings/manage exceptions, see UI Review URL: http://codereview.chromium.org/7645034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97190 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate geolocation settings to host content settings map and remove the ↵markusheintz@chromium.org2011-08-154-57/+355
| | | | | | | | | | | | | geolocation settings map. BUG=63656 TEST=host_content_settings_map_unittest.cc, content_settings_pref_provider_unittest.cc Review URL: http://codereview.chromium.org/7484072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96808 0039d316-1c4b-4281-b951-d872f2087c98
* base: Fix the TODO in ListValue::Remove().tfarina@chromium.org2011-08-131-6/+6
| | | | | | | | | | | | | Change the return type of Remove() to bool, and add a size_t output parameter. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7618021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96702 0039d316-1c4b-4281-b951-d872f2087c98
* Creat BrowsingDataCookieHelper and CannedBrowsingDataCookieHelper for ↵ycxiao@chromium.org2011-08-122-38/+26
| | | | | | | | | | | | | | | 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