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

Unified Diff: components/offline_pages/background/offliner.h

Issue 2149773002: PrerenderingOffliner will abort background load if it sees chrome transitioning to foreground on lo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nutha try Created 4 years, 5 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/background/offliner.h
diff --git a/components/offline_pages/background/offliner.h b/components/offline_pages/background/offliner.h
index 0873186e75ef859131cbb4ab5c769030478d8564..902d370ddaf805a0a7d38d08fbcb7d7a5537907a 100644
--- a/components/offline_pages/background/offliner.h
+++ b/components/offline_pages/background/offliner.h
@@ -28,6 +28,7 @@ class Offliner {
PRERENDERING_CANCELED = 4, // Prerendering was canceled.
PRERENDERING_FAILED = 5, // Prerendering failed to load page.
SAVE_FAILED = 6, // Failed to save loaded page.
+ FOREGROUND_CANCELED = 7, // Foreground transition canceled request.
fgorski 2016/07/14 17:01:45 nit: Please align all of the comments.
dougarnett 2016/07/15 16:00:25 Unfortunately, this is what 'git cl format' gave m
// NOTE: insert new values above this line and update histogram enum too.
STATUS_COUNT
};

Powered by Google App Engine
This is Rietveld 408576698