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

Unified Diff: chrome/browser/download/save_page_browsertest.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
Index: chrome/browser/download/save_page_browsertest.cc
diff --git a/chrome/browser/download/save_page_browsertest.cc b/chrome/browser/download/save_page_browsertest.cc
index 6a0f33c32adb9a9d672a4a162710d1e256403cdd..574e249e5b587f45a437fd4e0cfce99ea522ed65 100644
--- a/chrome/browser/download/save_page_browsertest.cc
+++ b/chrome/browser/download/save_page_browsertest.cc
@@ -53,22 +53,15 @@ using content::DownloadManager;
using content::DownloadPersistentStoreInfo;
using content::WebContents;
-namespace {
+const FilePath::CharType kTestDir[] = FILE_PATH_LITERAL("save_page");
-static const FilePath::CharType* kTestDir = FILE_PATH_LITERAL("save_page");
-
-static const char* kAppendedExtension =
+const char kAppendedExtension[] =
#if defined(OS_WIN)
".htm";
#else
".html";
#endif
-void NullFunction() {
-}
-
-} // namespace
-
// Loosely based on logic in DownloadTestObserver.
class DownloadItemCreatedObserver : public DownloadManager::Observer {
public:

Powered by Google App Engine
This is Rietveld 408576698