| 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_histograms.h" | 5 #include "chrome/browser/prerender/prerender_histograms.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
| 10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram_macros.h" |
| 11 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
| 12 #include "chrome/browser/predictors/autocomplete_action_predictor.h" | 12 #include "chrome/browser/predictors/autocomplete_action_predictor.h" |
| 13 #include "chrome/browser/prerender/prerender_manager.h" | 13 #include "chrome/browser/prerender/prerender_manager.h" |
| 14 #include "chrome/browser/prerender/prerender_util.h" | 14 #include "chrome/browser/prerender/prerender_util.h" |
| 15 | 15 |
| 16 using predictors::AutocompleteActionPredictor; | 16 using predictors::AutocompleteActionPredictor; |
| 17 | 17 |
| 18 namespace prerender { | 18 namespace prerender { |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 } | 383 } |
| 384 } | 384 } |
| 385 | 385 |
| 386 bool PrerenderHistograms::IsOriginWash() const { | 386 bool PrerenderHistograms::IsOriginWash() const { |
| 387 if (!WithinWindow()) | 387 if (!WithinWindow()) |
| 388 return false; | 388 return false; |
| 389 return origin_wash_; | 389 return origin_wash_; |
| 390 } | 390 } |
| 391 | 391 |
| 392 } // namespace prerender | 392 } // namespace prerender |
| OLD | NEW |