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

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: leiz 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
« no previous file with comments | « chrome/browser/ui/webui/gpu_internals_ui.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..15fd8b1886a34a469bcd0a78febad13b45502cfb 100644
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
@@ -13,9 +13,6 @@
#include "base/i18n/rtl.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
-#include "base/string_number_conversions.h"
-#include "base/string_split.h"
-#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/extensions/app_notification.h"
@@ -51,9 +48,7 @@
#include "grit/browser_resources.h"
#include "grit/generated_resources.h"
#include "net/base/escape.h"
-#include "ui/base/animation/animation.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/gfx/codec/png_codec.h"
#include "ui/gfx/favicon_size.h"
using application_launch::LaunchParams;
@@ -63,23 +58,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() {}
« no previous file with comments | « chrome/browser/ui/webui/gpu_internals_ui.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698