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

Unified Diff: net/tools/dump_cache/dump_cache.cc

Issue 24579003: Clean up remaining unused globals (on mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: staticmedia Created 7 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 | « media/webm/webm_tracks_parser_unittest.cc ('k') | ppapi/tests/test_audio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/dump_cache.cc
diff --git a/net/tools/dump_cache/dump_cache.cc b/net/tools/dump_cache/dump_cache.cc
index dd423b7a950b52ad447bb4a4be7d2b9b3be8c9df..d4ccc29444885ee34871bfc0b8656fb1d8b132f8 100644
--- a/net/tools/dump_cache/dump_cache.cc
+++ b/net/tools/dump_cache/dump_cache.cc
@@ -32,6 +32,7 @@ enum Errors {
TOOL_NOT_FOUND,
};
+#if defined(OS_WIN)
const char kUpgradeHelp[] =
"\nIn order to use the upgrade function, a version of this tool that\n"
"understands the file format of the files to upgrade is needed. For\n"
@@ -39,6 +40,7 @@ const char kUpgradeHelp[] =
"a version of this program that was compiled with version 3.4 has to be\n"
"located beside this executable, and named dump_cache_3.exe, and this\n"
"executable should be compiled with version 5.2 being the current one.";
+#endif // defined(OS_WIN)
// Folders to read and write cache files.
const char kInputPath[] = "input";
@@ -58,7 +60,9 @@ const char kUpgrade[] = "upgrade";
// Internal use:
const char kSlave[] = "slave";
+#if defined(OS_WIN)
const char kPipe[] = "pipe";
+#endif // defined(OS_WIN)
int Help() {
printf("warning: input files are modified by this tool\n");
« no previous file with comments | « media/webm/webm_tracks_parser_unittest.cc ('k') | ppapi/tests/test_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698