| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/prerender/prerender_field_trial.h" | 5 #include "chrome/browser/prerender/prerender_field_trial.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 if (switch_value == switches::kPrerenderFromOmniboxSwitchValueDisabled) | 59 if (switch_value == switches::kPrerenderFromOmniboxSwitchValueDisabled) |
| 60 return false; | 60 return false; |
| 61 | 61 |
| 62 DCHECK_EQ(switches::kPrerenderFromOmniboxSwitchValueAuto, switch_value); | 62 DCHECK_EQ(switches::kPrerenderFromOmniboxSwitchValueAuto, switch_value); |
| 63 } | 63 } |
| 64 | 64 |
| 65 return (base::FieldTrialList::FindFullName("PrerenderFromOmnibox") != | 65 return (base::FieldTrialList::FindFullName("PrerenderFromOmnibox") != |
| 66 "OmniboxPrerenderDisabled"); | 66 "OmniboxPrerenderDisabled"); |
| 67 } | 67 } |
| 68 | 68 |
| 69 bool IsSideEffectFreeWhitelistEnabled() { | |
| 70 return false; | |
| 71 } | |
| 72 | |
| 73 } // namespace prerender | 69 } // namespace prerender |
| OLD | NEW |