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

Unified Diff: chrome/browser/ui/webui/ntp/app_launcher_handler.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak, rebase Created 8 years, 3 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/ui/webui/ntp/app_launcher_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
index 6c90c7d6b18b6e90ee58b782d84fc7ad295c3506..10833be363fc17b1f27338790335ffb985190d4a 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -63,23 +63,9 @@ using extensions::CrxInstaller;
using extensions::Extension;
using extensions::ExtensionPrefs;
-namespace {
-
const net::UnescapeRule::Type kUnescapeRules =
net::UnescapeRule::NORMAL | net::UnescapeRule::URL_SPECIAL_CHARS;
-extension_misc::AppLaunchBucket ParseLaunchSource(
- const std::string& launch_source) {
- int bucket_num = extension_misc::APP_LAUNCH_BUCKET_INVALID;
- base::StringToInt(launch_source, &bucket_num);
- extension_misc::AppLaunchBucket bucket =
- static_cast<extension_misc::AppLaunchBucket>(bucket_num);
- CHECK(bucket < extension_misc::APP_LAUNCH_BUCKET_BOUNDARY);
- return bucket;
-}
-
-} // namespace
-
AppLauncherHandler::AppInstallInfo::AppInstallInfo() {}
AppLauncherHandler::AppInstallInfo::~AppInstallInfo() {}

Powered by Google App Engine
This is Rietveld 408576698