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

Unified Diff: net/http/disk_cache_based_ssl_host_info.h

Issue 8670009: SSL Host info: Make sure that we can update certificate chains in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/disk_cache_based_ssl_host_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/disk_cache_based_ssl_host_info.h
===================================================================
--- net/http/disk_cache_based_ssl_host_info.h (revision 111204)
+++ net/http/disk_cache_based_ssl_host_info.h (working copy)
@@ -46,8 +46,8 @@
READ,
READ_COMPLETE,
WAIT_FOR_DATA_READY_DONE,
- CREATE,
- CREATE_COMPLETE,
+ CREATE_OR_OPEN,
+ CREATE_OR_OPEN_COMPLETE,
WRITE,
WRITE_COMPLETE,
SET_DONE,
@@ -88,13 +88,13 @@
int DoOpenComplete(int rv);
int DoReadComplete(int rv);
int DoWriteComplete(int rv);
- int DoCreateComplete(int rv);
+ int DoCreateOrOpenComplete(int rv);
int DoGetBackend();
int DoOpen();
int DoRead();
int DoWrite();
- int DoCreate();
+ int DoCreateOrOpen();
// DoWaitForDataReadyDone is the terminal state of the read operation.
int DoWaitForDataReadyDone();
@@ -109,6 +109,7 @@
CallbackImpl* callback_;
State state_;
bool ready_;
+ bool found_entry_; // Controls the behavior of DoCreateOrOpen.
std::string new_data_;
const std::string hostname_;
HttpCache* const http_cache_;
« no previous file with comments | « no previous file | net/http/disk_cache_based_ssl_host_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698