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

Side by Side Diff: chrome/browser/prerender/prerender_field_trial.cc

Issue 1073633002: Remove PrerenderLocalPredictor, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prerender-local-predictor-1
Patch Set: rebase Created 5 years, 8 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_field_trial.h ('k') | chrome/browser/safe_browsing/database_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698