Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / browsing_data / browsing_data_api.cc
index 573953b..b6987ae 100644 (file)
@@ -112,8 +112,7 @@ bool IsRemovalPermitted(int removal_mask, PrefService* prefs) {
 
 }  // namespace
 
-
-bool BrowsingDataSettingsFunction::RunImpl() {
+bool BrowsingDataSettingsFunction::RunSync() {
   PrefService* prefs = GetProfile()->GetPrefs();
 
   // Fill origin types.
@@ -218,13 +217,13 @@ void BrowsingDataSettingsFunction::SetDetails(
 }
 
 void BrowsingDataRemoverFunction::OnBrowsingDataRemoverDone() {
-  DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+  DCHECK_CURRENTLY_ON(BrowserThread::UI);
   this->SendResponse(true);
 
-  Release();  // Balanced in RunImpl.
+  Release();  // Balanced in RunAsync.
 }
 
-bool BrowsingDataRemoverFunction::RunImpl() {
+bool BrowsingDataRemoverFunction::RunAsync() {
   // If we don't have a profile, something's pretty wrong.
   DCHECK(GetProfile());