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

Unified Diff: net/http/http_auth_controller.h

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: another compile nit Created 3 years, 7 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: net/http/http_auth_controller.h
diff --git a/net/http/http_auth_controller.h b/net/http/http_auth_controller.h
index f6c2d743bff645bbbb4de3c9f5d3644a93a8dc28..bbbcea0d0add0a5a91d566fdb2c34601764ccfbf 100644
--- a/net/http/http_auth_controller.h
+++ b/net/http/http_auth_controller.h
@@ -10,7 +10,7 @@
#include <string>
#include "base/memory/ref_counted.h"
-#include "base/threading/non_thread_safe.h"
+#include "base/sequence_checker.h"
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
#include "net/http/http_auth.h"
@@ -29,8 +29,7 @@ struct HttpRequestInfo;
class SSLInfo;
class NET_EXPORT_PRIVATE HttpAuthController
- : public base::RefCounted<HttpAuthController>,
- NON_EXPORTED_BASE(public base::NonThreadSafe) {
+ : public base::RefCounted<HttpAuthController> {
public:
// The arguments are self explanatory except possibly for |auth_url|, which
// should be both the auth target and auth path in a single url argument.
@@ -170,6 +169,8 @@ class NET_EXPORT_PRIVATE HttpAuthController
std::set<HttpAuth::Scheme> disabled_schemes_;
CompletionCallback callback_;
+
+ SEQUENCE_CHECKER(sequence_checker_);
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698