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

Unified Diff: net/quic/congestion_control/loss_detection_interface.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/quic/congestion_control/loss_detection_interface.h ('k') | net/quic/congestion_control/pacing_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/loss_detection_interface.cc
diff --git a/net/quic/congestion_control/loss_detection_interface.cc b/net/quic/congestion_control/loss_detection_interface.cc
deleted file mode 100644
index df2983f207906317defa5a1352562c1696a39b7f..0000000000000000000000000000000000000000
--- a/net/quic/congestion_control/loss_detection_interface.cc
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/quic/congestion_control/loss_detection_interface.h"
-
-#include "net/quic/congestion_control/tcp_loss_algorithm.h"
-#include "net/quic/congestion_control/time_loss_algorithm.h"
-
-namespace net {
-
-// Factory for loss detection algorithm.
-LossDetectionInterface* LossDetectionInterface::Create(
- LossDetectionType loss_type) {
- switch (loss_type) {
- case kNack:
- return new TCPLossAlgorithm();
- case kTime:
- return new TimeLossAlgorithm();
- }
- LOG(DFATAL) << "Unknown loss detection algorithm:" << loss_type;
- return nullptr;
-}
-
-} // namespace net
« no previous file with comments | « net/quic/congestion_control/loss_detection_interface.h ('k') | net/quic/congestion_control/pacing_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698