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

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

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/filters/file_data_source_unittest.cc ('k') | ppapi/proxy/flash_file_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/gdig/gdig.cc
diff --git a/net/tools/gdig/gdig.cc b/net/tools/gdig/gdig.cc
index a388d18371f3e14c82180d36905ef45afa8b6f29..cb394a590b6d0a6b9c9c3fbd666a210e37c05187 100644
--- a/net/tools/gdig/gdig.cc
+++ b/net/tools/gdig/gdig.cc
@@ -114,7 +114,7 @@ typedef std::vector<ReplayLogEntry> ReplayLog;
// resolution and is in milliseconds. domain_name is the name to be resolved.
//
// The file should be sorted by timestamp in ascending time.
-bool LoadReplayLog(const FilePath& file_path, ReplayLog* replay_log) {
+bool LoadReplayLog(const base::FilePath& file_path, ReplayLog* replay_log) {
std::string original_replay_log_contents;
if (!file_util::ReadFileToString(file_path, &original_replay_log_contents)) {
fprintf(stderr, "Unable to open replay file %s\n",
@@ -329,7 +329,7 @@ bool GDig::ParseCommandLine(int argc, const char* argv[]) {
}
if (parsed_command_line.HasSwitch("replay_file")) {
- FilePath replay_path =
+ base::FilePath replay_path =
parsed_command_line.GetSwitchValuePath("replay_file");
if (!LoadReplayLog(replay_path, &replay_log_))
return false;
« no previous file with comments | « media/filters/file_data_source_unittest.cc ('k') | ppapi/proxy/flash_file_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698