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

Unified Diff: content/browser/fileapi/file_system_quota_client_unittest.cc

Issue 780713002: Fix remaining WeakPtrFactory ordering problems (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years 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: content/browser/fileapi/file_system_quota_client_unittest.cc
diff --git a/content/browser/fileapi/file_system_quota_client_unittest.cc b/content/browser/fileapi/file_system_quota_client_unittest.cc
index 747c6626d6ee92608f0d5cfce8fdc1e75fe7ac42..5ab33e1b9238ef04332c2a135710db7f556549fa 100644
--- a/content/browser/fileapi/file_system_quota_client_unittest.cc
+++ b/content/browser/fileapi/file_system_quota_client_unittest.cc
@@ -40,9 +40,9 @@ const storage::StorageType kPersistent = storage::kStorageTypePersistent;
class FileSystemQuotaClientTest : public testing::Test {
public:
FileSystemQuotaClientTest()
- : weak_factory_(this),
- additional_callback_count_(0),
- deletion_status_(storage::kQuotaStatusUnknown) {}
+ : additional_callback_count_(0),
+ deletion_status_(storage::kQuotaStatusUnknown),
+ weak_factory_(this) {}
void SetUp() override {
ASSERT_TRUE(data_dir_.CreateUniqueTempDir());
@@ -230,11 +230,11 @@ class FileSystemQuotaClientTest : public testing::Test {
base::ScopedTempDir data_dir_;
base::MessageLoop message_loop_;
scoped_refptr<storage::FileSystemContext> file_system_context_;
- base::WeakPtrFactory<FileSystemQuotaClientTest> weak_factory_;
int64 usage_;
int additional_callback_count_;
std::set<GURL> origins_;
storage::QuotaStatusCode deletion_status_;
+ base::WeakPtrFactory<FileSystemQuotaClientTest> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(FileSystemQuotaClientTest);
};
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/fileapi/file_system_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698