summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-06 02:37:17 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-06 02:37:17 +0000
commitdcde767184d0ab222f846123bc397738b3bcd8f7 (patch)
tree0f9a8297a8ef586214a09e2c53e9c300a31f914a /chrome/browser/profiles
parent651cea61d7994567ddd4db73012d6c9f737efee4 (diff)
downloadchromium_src-dcde767184d0ab222f846123bc397738b3bcd8f7.zip
chromium_src-dcde767184d0ab222f846123bc397738b3bcd8f7.tar.gz
chromium_src-dcde767184d0ab222f846123bc397738b3bcd8f7.tar.bz2
Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn.
BUG=98919 TEST=existing Review URL: http://codereview.chromium.org/9111032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r--chrome/browser/profiles/profile_impl.cc2
-rw-r--r--chrome/browser/profiles/profile_manager_unittest.cc3
2 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index cdef23c..a6408cb 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -154,7 +154,7 @@ static const int kCreateSessionServiceDelayMS = 500;
// Helper method needed because PostTask cannot currently take a Callback
// function with non-void return type.
-// TODO(jhawkins): Remove once IgnoreReturn is fixed.
+// TODO(jhawkins): Remove once IgnoreResult is fixed.
void CreateDirectoryNoResult(const FilePath& path) {
file_util::CreateDirectory(path);
}
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index 5f24011..7d598c3 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -67,8 +67,7 @@ class ProfileManager : public ::ProfileManagerWithoutInit {
// This is safe while all file operations are done on the FILE thread.
BrowserThread::PostTask(
BrowserThread::FILE, FROM_HERE,
- base::IgnoreReturn<bool>(base::Bind(&file_util::CreateDirectory,
- path)));
+ base::Bind(base::IgnoreResult(&file_util::CreateDirectory), path));
return new TestingProfile(path, this);
}