Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5410)

Unified Diff: chrome/browser/extensions/api/runtime/runtime_api.cc

Issue 126163003: Rename setUninstallUrl to setUninstallURL throughout codebase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « chrome/browser/extensions/api/runtime/runtime_api.h ('k') | chrome/browser/extensions/api/runtime/runtime_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698