| Index: chrome/browser/extensions/api/runtime/runtime_api.cc
|
| diff --git a/chrome/browser/extensions/api/runtime/runtime_api.cc b/chrome/browser/extensions/api/runtime/runtime_api.cc
|
| index 03ce5ce9553dbb356d43fc8b60ae3911ac8733cb..32d361506bb3c779e5848d3e8c9a66f58251fb5f 100644
|
| --- a/chrome/browser/extensions/api/runtime/runtime_api.cc
|
| +++ b/chrome/browser/extensions/api/runtime/runtime_api.cc
|
| @@ -116,7 +116,7 @@ static void DispatchOnStartupEventImpl(
|
| system->event_router()->DispatchEventToExtension(extension_id, event.Pass());
|
| }
|
|
|
| -void SetUninstallUrl(ExtensionPrefs* prefs,
|
| +void SetUninstallURL(ExtensionPrefs* prefs,
|
| const std::string& extension_id,
|
| const std::string& url_string) {
|
| prefs->UpdateExtensionPref(extension_id,
|
| @@ -125,7 +125,7 @@ void SetUninstallUrl(ExtensionPrefs* prefs,
|
| }
|
|
|
| #if defined(ENABLE_EXTENSIONS)
|
| -std::string GetUninstallUrl(ExtensionPrefs* prefs,
|
| +std::string GetUninstallURL(ExtensionPrefs* prefs,
|
| const std::string& extension_id) {
|
| std::string url_string;
|
| prefs->ReadPrefAsString(extension_id, kUninstallUrl, &url_string);
|
| @@ -348,7 +348,7 @@ void RuntimeEventRouter::OnExtensionUninstalled(
|
| Profile* profile,
|
| const std::string& extension_id) {
|
| #if defined(ENABLE_EXTENSIONS)
|
| - GURL uninstall_url(GetUninstallUrl(ExtensionPrefs::Get(profile),
|
| + GURL uninstall_url(GetUninstallURL(ExtensionPrefs::Get(profile),
|
| extension_id));
|
|
|
| if (uninstall_url.is_empty())
|
| @@ -397,7 +397,7 @@ void RuntimeGetBackgroundPageFunction::OnPageLoaded(ExtensionHost* host) {
|
| }
|
| }
|
|
|
| -bool RuntimeSetUninstallUrlFunction::RunImpl() {
|
| +bool RuntimeSetUninstallURLFunction::RunImpl() {
|
| std::string url_string;
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url_string));
|
|
|
| @@ -407,7 +407,7 @@ bool RuntimeSetUninstallUrlFunction::RunImpl() {
|
| return false;
|
| }
|
|
|
| - SetUninstallUrl(
|
| + SetUninstallURL(
|
| ExtensionPrefs::Get(GetProfile()), extension_id(), url_string);
|
| return true;
|
| }
|
|
|