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

Unified Diff: net/quic/quic_server_bin.cc

Issue 361083002: Small cleanups to ported QuicServer and dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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: net/quic/quic_server_bin.cc
diff --git a/net/quic/quic_server_bin.cc b/net/quic/quic_server_bin.cc
index 63b85a76a71072a26558735dce1bcb73229e7870..1dd45569660d6de0a12d615aca91133238c42d0a 100644
--- a/net/quic/quic_server_bin.cc
+++ b/net/quic/quic_server_bin.cc
@@ -42,9 +42,10 @@ int main(int argc, char *argv[]) {
exit(0);
}
+ base::FilePath::StringType cache_dir;
if (line->HasSwitch("quic_in_memory_cache_dir")) {
- net::g_quic_in_memory_cache_dir =
- line->GetSwitchValueNative("quic_in_memory_cache_dir");
+ cache_dir = line->GetSwitchValueNative("quic_in_memory_cache_dir");
+ net::g_quic_in_memory_cache_dir = &cache_dir;
}
if (line->HasSwitch("port")) {

Powered by Google App Engine
This is Rietveld 408576698