Chromium Code Reviews| Index: chrome/browser/trials/throttling_trial.h |
| diff --git a/chrome/browser/trials/throttling_trial.h b/chrome/browser/trials/throttling_trial.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bbea7d4586f0ce022eb847b5144220f1f7ab60a9 |
| --- /dev/null |
| +++ b/chrome/browser/trials/throttling_trial.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright (c) 2011 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. |
| + |
| +#ifndef CHROME_BROWSER_TRIALS_THROTTLING_TRIAL_H_ |
| +#define CHROME_BROWSER_TRIALS_THROTTLING_TRIAL_H_ |
| +#pragma once |
| + |
| +#include <string> |
|
wtc
2011/06/10 22:31:00
Nit: no need to include <string> because this head
Jói
2011/06/13 17:27:14
Done.
|
| + |
| +class PrefService; |
| + |
| +namespace throttling_trial { |
|
wtc
2011/06/10 22:31:00
Nit: it seems better to name the namespace http_th
Jói
2011/06/13 17:27:14
I went with Jim's suggestion to remove the namespa
|
| + |
| +// Creates the trial. |
| +void CreateTrial(PrefService* prefs); |
|
jar (doing other things)
2011/06/12 06:49:12
This seems strange. You're declaring a namespace
Jói
2011/06/13 17:27:14
You're absolutely right, thanks for pointing this
|
| + |
| +} // namespace throttling_trial |
| + |
| +#endif // CHROME_BROWSER_TRIALS_THROTTLING_TRIAL_H_ |