| Index: chrome/browser/extensions/api/sessions/sessions_api.cc
|
| diff --git a/chrome/browser/extensions/api/sessions/sessions_api.cc b/chrome/browser/extensions/api/sessions/sessions_api.cc
|
| index 6ad2d90d97726af94009e168936d49a99339cd77..1b7fc2d60d0e66bd22ebcf71513d7b113b350b28 100644
|
| --- a/chrome/browser/extensions/api/sessions/sessions_api.cc
|
| +++ b/chrome/browser/extensions/api/sessions/sessions_api.cc
|
| @@ -195,7 +195,7 @@ scoped_ptr<api::sessions::Session>
|
| window.Pass());
|
| }
|
|
|
| -bool SessionsGetRecentlyClosedFunction::RunImpl() {
|
| +bool SessionsGetRecentlyClosedFunction::RunSync() {
|
| scoped_ptr<GetRecentlyClosed::Params> params(
|
| GetRecentlyClosed::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params);
|
| @@ -362,7 +362,7 @@ scoped_ptr<api::sessions::Device> SessionsGetDevicesFunction::CreateDeviceModel(
|
| return device_struct.Pass();
|
| }
|
|
|
| -bool SessionsGetDevicesFunction::RunImpl() {
|
| +bool SessionsGetDevicesFunction::RunSync() {
|
| ProfileSyncService* service =
|
| ProfileSyncServiceFactory::GetInstance()->GetForProfile(GetProfile());
|
| if (!(service && service->GetPreferredDataTypes().Has(syncer::SESSIONS))) {
|
| @@ -564,7 +564,7 @@ bool SessionsRestoreFunction::RestoreForeignSession(const SessionId& session_id,
|
| return SetResultRestoredWindow(ExtensionTabUtil::GetWindowId(browsers[0]));
|
| }
|
|
|
| -bool SessionsRestoreFunction::RunImpl() {
|
| +bool SessionsRestoreFunction::RunSync() {
|
| scoped_ptr<Restore::Params> params(Restore::Params::Create(*args_));
|
| EXTENSION_FUNCTION_VALIDATE(params);
|
|
|
|
|