Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_NETWORK_PREDICTION_OPTIONS_H_ | |
|
jkarlin
2014/06/13 11:26:39
I don't see any other enums for preferences define
Bence
2014/06/13 13:49:06
Done.
| |
| 6 #define CHROME_COMMON_NETWORK_PREDICTION_OPTIONS_H_ | |
| 7 | |
| 8 namespace { | |
|
jkarlin
2014/06/13 11:26:40
Should be 'namespace chrome'. Things in an unname
Bence
2014/06/13 13:49:05
Everything in chrome/browser/net/predictor.h is in
| |
| 9 | |
| 10 // The same enum must be used by the platform-dependent UI components. | |
| 11 // Not used yet, see issue 334602. | |
| 12 enum class AllowNetworkPredictionOptions = { | |
|
jkarlin
2014/06/13 11:26:39
Remove 'class'. Suggest 'NetworkPredictionOptions
Bence
2014/06/13 13:49:06
Done. Also removed =.
| |
| 13 ALWAYS, | |
|
jkarlin
2014/06/13 11:26:39
NETWORK_PREDICTION_ALWAYS. Most of our enum value
Bence
2014/06/13 13:49:05
Done.
| |
| 14 WIFI_ONLY, | |
|
jkarlin
2014/06/13 11:26:39
NETWORK_PREDICTION_UNMETERED_ONLY
Let's go with U
Bence
2014/06/13 13:49:05
Are we not worried about the inconsistency between
jkarlin
2014/06/13 14:10:40
Yes, that is a good point. Okay, let's keep it.
| |
| 15 NEVER | |
|
jkarlin
2014/06/13 11:26:40
NETWORK_PREDICTION_NEVER
Bence
2014/06/13 13:49:06
Done.
| |
| 16 }; | |
| 17 | |
| 18 } // namespace | |
|
jkarlin
2014/06/13 11:26:40
// namespace chrome
Bence
2014/06/13 13:49:06
Mute: moved to the namespace that is used by every
| |
| 19 | |
| 20 #endif // CHROME_COMMON_NETWORK_PREDICTION_OPTIONS_H_ | |
| OLD | NEW |