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

Unified Diff: net/http/http_cache_transaction.h

Issue 2766953002: [HttpCache::Transaction] Force states to set the next state (Closed)
Patch Set: Nit Created 3 years, 9 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
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | net/http/http_cache_transaction.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.h
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
index 2d249c1eda028c6329ed2edc603bfc2f4064a082..67d2a0dcd49b7d9d86528581c642a56e86fb3748 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -1,3 +1,4 @@
+
Randy Smith (Not in Mondays) 2017/03/22 14:49:44 nit: Why?
jkarlin 2017/03/22 15:04:26 Done.
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -179,6 +180,8 @@ class HttpCache::Transaction : public HttpTransaction {
};
enum State {
+ STATE_UNSET,
+
// Normally, states are traversed in approximately this order.
STATE_NONE,
STATE_GET_BACKEND,
« no previous file with comments | « no previous file | net/http/http_cache_transaction.cc » ('j') | net/http/http_cache_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698