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

Unified Diff: chrome/browser/browser_main.h

Issue 7251004: Deciding best connection to schedule requests on based on cwnd and idle time (Reopened after revert) (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Syncing to head Created 9 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
« no previous file with comments | « no previous file | chrome/browser/browser_main.cc » ('j') | net/socket/stream_socket.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.h
===================================================================
--- chrome/browser/browser_main.h (revision 90551)
+++ chrome/browser/browser_main.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "base/basictypes.h"
+#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/metrics/field_trial.h"
#include "base/tracked_objects.h"
@@ -129,6 +130,9 @@
// specified timeout value is reached.
void ConnectBackupJobsFieldTrial();
+ // A/B test for warmest socket vs. most recently used socket.
+ void WarmConnectionFieldTrial();
+
// Used to initialize NSPR where appropriate.
virtual void InitializeSSL() = 0;
@@ -171,6 +175,9 @@
// Initialized in SetupMetricsAndFieldTrials.
scoped_refptr<FieldTrialSynchronizer> field_trial_synchronizer_;
+ FRIEND_TEST(BrowserMainTest, WarmConnectionFieldTrial_WarmestSocket);
+ FRIEND_TEST(BrowserMainTest, WarmConnectionFieldTrial_Random);
+ FRIEND_TEST(BrowserMainTest, WarmConnectionFieldTrial_Invalid);
DISALLOW_COPY_AND_ASSIGN(BrowserMainParts);
};
« no previous file with comments | « no previous file | chrome/browser/browser_main.cc » ('j') | net/socket/stream_socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698