/external/chromium/chrome/browser/prerender/ |
prerender_final_status.cc | 11 void RecordFinalStatus(FinalStatus final_status) { 12 DCHECK(final_status != FINAL_STATUS_MAX); 16 if (final_status == FINAL_STATUS_CONTROL_GROUP) 19 final_status,
|
prerender_final_status.h | 36 void RecordFinalStatus(FinalStatus final_status);
|
prerender_contents.cc | 183 void PrerenderContents::set_final_status(FinalStatus final_status) { 184 DCHECK(final_status >= FINAL_STATUS_USED && final_status < FINAL_STATUS_MAX); 187 final_status_ = final_status; 190 FinalStatus PrerenderContents::final_status() const { function in class:prerender::PrerenderContents 502 void PrerenderContents::Destroy(FinalStatus final_status) { 504 set_final_status(final_status);
|
prerender_contents.h | 100 void set_final_status(FinalStatus final_status); 101 FinalStatus final_status() const;
|
prerender_browsertest.cc | 67 EXPECT_EQ(expected_final_status_, final_status()) <<
|
prerender_manager_unittest.cc | 39 EXPECT_EQ(expected_final_status_, final_status());
|
/external/chromium_org/chrome/browser/prerender/ |
prerender_final_status.cc | 66 const char* NameFromFinalStatus(FinalStatus final_status) { 67 DCHECK_LT(static_cast<unsigned int>(final_status), 69 return kFinalStatusNames[final_status];
|
prerender_tracker.cc | 27 FinalStatus final_status) { 34 render_process_id, render_view_id, final_status); 41 : final_status(FINAL_STATUS_MAX), 46 FinalStatus final_status; member in struct:prerender::RenderViewInfo 66 FinalStatus final_status) { 67 DCHECK_NE(FINAL_STATUS_USED, final_status); 68 DCHECK(final_status >= 0 && final_status < FINAL_STATUS_MAX); 71 SetFinalStatus(child_id, route_id, final_status, &actual_final_status); 79 FinalStatus final_status) { [all...] |
prerender_history.h | 30 Entry() : final_status(FINAL_STATUS_MAX), origin(ORIGIN_MAX) {} 36 : url(url_arg), final_status(final_status_arg), 48 FinalStatus final_status; member in struct:prerender::PrerenderHistory::Entry
|
prerender_tracker_unittest.cc | 35 if (final_status() == FINAL_STATUS_MAX) 77 int process_id, int view_id, FinalStatus final_status) OVERRIDE { 84 FinalStatus final_status) OVERRIDE { 123 FinalStatus final_status; local 125 &final_status)) { 128 return final_status; 154 FinalStatus final_status; local 156 kDefaultChildId, kDefaultRouteId, &final_status)); 208 FinalStatus final_status; local 210 kDefaultChildId, kDefaultRouteId, &final_status)); 260 FinalStatus final_status; local 309 FinalStatus final_status; local 347 FinalStatus final_status; local 414 FinalStatus final_status; local [all...] |
prerender_tracker.h | 45 // FinalStatus to |final_status|. Returns true if the specified prerender has 53 bool TryCancel(int child_id, int route_id, FinalStatus final_status); 58 FinalStatus final_status); 61 // |true| and sets |final_status| to the status of the RenderView if it 64 FinalStatus* final_status) const;
|
prerender_final_status.h | 63 // Return a human-readable name for |final_status|. |final_status| 65 const char* NameFromFinalStatus(FinalStatus final_status);
|
prerender_contents.cc | 363 void PrerenderContents::SetFinalStatus(FinalStatus final_status) { 364 DCHECK(final_status >= FINAL_STATUS_USED && final_status < FINAL_STATUS_MAX); 367 final_status_ = final_status; 371 DCHECK_NE(FINAL_STATUS_MAX, final_status()); 373 prerendering_has_been_cancelled() || final_status() == FINAL_STATUS_USED); 377 origin(), experiment_id(), match_complete_status(), final_status()); 607 void PrerenderContents::Destroy(FinalStatus final_status) { 608 DCHECK_NE(final_status, FINAL_STATUS_USED); 619 child_id_, route_id_, final_status); [all...] |
prerender_history_unittest.cc | 32 std::string final_status; 33 if (!dict->GetString("final_status", &final_status)) 35 if (final_status != NameFromFinalStatus(expected_final_status))
|
prerender_manager.cc | 107 bool NeedMatchCompleteDummyForFinalStatus(FinalStatus final_status) { 108 return final_status != FINAL_STATUS_USED && 109 final_status != FINAL_STATUS_TIMED_OUT && 110 final_status != FINAL_STATUS_MANAGER_SHUTDOWN && 111 final_status != FINAL_STATUS_APP_TERMINATING && 112 final_status != FINAL_STATUS_WINDOW_OPENER && 113 final_status != FINAL_STATUS_CACHE_OR_HISTORY_CLEARED && 114 final_status != FINAL_STATUS_CANCELLED && 115 final_status != FINAL_STATUS_DEVTOOLS_ATTACHED && 116 final_status != FINAL_STATUS_CROSS_SITE_NAVIGATION_PENDING & [all...] |
prerender_manager.h | 151 // it with |final_status|. 154 FinalStatus final_status); 168 FinalStatus final_status); 276 FinalStatus final_status) const; 535 void DestroyAllContents(FinalStatus final_status); 538 // final_status, while at the same time recording that for the MatchComplete 541 FinalStatus final_status); 548 FinalStatus final_status) const;
|
prerender_histograms.cc | 364 FinalStatus final_status) const { 365 DCHECK(final_status != FINAL_STATUS_MAX); 371 UMA_HISTOGRAM_ENUMERATION(name, final_status, FINAL_STATUS_MAX)); 378 UMA_HISTOGRAM_ENUMERATION(name, final_status, FINAL_STATUS_MAX));
|
prerender_histograms.h | 67 FinalStatus final_status) const;
|
prerender_history.cc | 42 entry_dict->SetString("final_status", 43 NameFromFinalStatus(entry.final_status));
|
prerender_contents.h | 201 void SetFinalStatus(FinalStatus final_status); 202 FinalStatus final_status() const { return final_status_; } function in class:prerender::PrerenderContents
|
prerender_unittest.cc | 46 EXPECT_EQ(expected_final_status_, final_status()); 113 FinalStatus final_status) OVERRIDE { 116 PrerenderManager::MoveEntryToPendingDelete(entry, final_status); [all...] |
prerender_browsertest.cc | 245 EXPECT_EQ(expected_final_status_, final_status()) << 248 ", Actual: " << NameFromFinalStatus(final_status()) << ")"; 260 if (final_status() == FINAL_STATUS_USED) 287 final_status() != expected_final_status_) { [all...] |