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

Unified Diff: components/offline_pages/core/snapshot_controller.h

Issue 2655273003: Adds a first integration test for the Recent Tabs feature. (Closed)
Patch Set: Fix wrapping of comment text. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/core/snapshot_controller.h
diff --git a/components/offline_pages/core/snapshot_controller.h b/components/offline_pages/core/snapshot_controller.h
index dd0ca01c878dfddcde0dcef4c6c466ac8be3b4e0..36e1680a6f03f515a7c0305eef0669a6602796d6 100644
--- a/components/offline_pages/core/snapshot_controller.h
+++ b/components/offline_pages/core/snapshot_controller.h
@@ -66,8 +66,8 @@ class SnapshotController {
SnapshotController(
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
SnapshotController::Client* client,
- size_t delay_after_document_available_ms,
- size_t delay_after_document_on_load_completed_ms);
+ int64_t delay_after_document_available_ms,
+ int64_t delay_after_document_on_load_completed_ms);
virtual ~SnapshotController();
// Resets the 'session', returning controller to initial state.
@@ -88,8 +88,8 @@ class SnapshotController {
// Invoked from WebContentObserver::DocumentOnLoadCompletedInMainFrame
void DocumentOnLoadCompletedInMainFrame();
- size_t GetDelayAfterDocumentAvailableForTest();
- size_t GetDelayAfterDocumentOnLoadCompletedForTest();
+ int64_t GetDelayAfterDocumentAvailableForTest();
+ int64_t GetDelayAfterDocumentOnLoadCompletedForTest();
PageQuality current_page_quality() const { return current_page_quality_; }
@@ -101,8 +101,8 @@ class SnapshotController {
// Client owns this class.
SnapshotController::Client* client_;
SnapshotController::State state_;
- size_t delay_after_document_available_ms_;
- size_t delay_after_document_on_load_completed_ms_;
+ int64_t delay_after_document_available_ms_;
+ int64_t delay_after_document_on_load_completed_ms_;
// The expected quality of a snapshot taken at the moment this value is
// queried.

Powered by Google App Engine
This is Rietveld 408576698