summaryrefslogtreecommitdiffstats
path: root/base/prefs/testing_pref_service.h
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-19 04:22:12 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-19 04:22:12 +0000
commite90a01fb2a79f51878619f97e33362e24d727a9c (patch)
tree72af2c75d8b798a822169266d3610511420c50e4 /base/prefs/testing_pref_service.h
parent86ecceb0ddcf444366d16c0dee205dedcea04f96 (diff)
downloadchromium_src-e90a01fb2a79f51878619f97e33362e24d727a9c.zip
chromium_src-e90a01fb2a79f51878619f97e33362e24d727a9c.tar.gz
chromium_src-e90a01fb2a79f51878619f97e33362e24d727a9c.tar.bz2
Clean up PrefServiceBuilder
* Use simple setters rather than With* methods. * Explicitly transfer memory ownership. * Rename "Builder" to "Factory" * Eliminate the side-effect of resetting the builder from the Create* methods. Along the way, fix a memory leak in the Android WebView. BUG=315499 TEST=none (code should continue to compile and tests should continue to pass) R=joi@chromium.org Review URL: https://codereview.chromium.org/64193003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/prefs/testing_pref_service.h')
-rw-r--r--base/prefs/testing_pref_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/prefs/testing_pref_service.h b/base/prefs/testing_pref_service.h
index 1af4ba6..a9ab937 100644
--- a/base/prefs/testing_pref_service.h
+++ b/base/prefs/testing_pref_service.h
@@ -90,7 +90,7 @@ class TestingPrefServiceSimple
// an existing TestingPrefServiceSimple instance. On a production
// PrefService you would do all registrations before constructing
// it, passing it a PrefRegistry via its constructor (or via
- // e.g. PrefServiceBuilder).
+ // e.g. PrefServiceFactory).
PrefRegistrySimple* registry();
private: