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

Side by Side Diff: storage/browser/database/database_tracker.cc

Issue 1139323003: Discard duplicate includes of files from storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Comments Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "storage/browser/database/database_tracker.h" 5 #include "storage/browser/database/database_tracker.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/files/file.h"
13 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
14 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
15 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
17 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
18 #include "sql/connection.h" 17 #include "sql/connection.h"
19 #include "sql/meta_table.h" 18 #include "sql/meta_table.h"
20 #include "sql/transaction.h" 19 #include "sql/transaction.h"
21 #include "storage/browser/database/database_quota_client.h" 20 #include "storage/browser/database/database_quota_client.h"
22 #include "storage/browser/database/database_util.h" 21 #include "storage/browser/database/database_util.h"
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 if (!db_tracker_thread_->BelongsToCurrentThread()) { 858 if (!db_tracker_thread_->BelongsToCurrentThread()) {
860 db_tracker_thread_->PostTask( 859 db_tracker_thread_->PostTask(
861 FROM_HERE, 860 FROM_HERE,
862 base::Bind(&DatabaseTracker::SetForceKeepSessionState, this)); 861 base::Bind(&DatabaseTracker::SetForceKeepSessionState, this));
863 return; 862 return;
864 } 863 }
865 force_keep_session_state_ = true; 864 force_keep_session_state_ = true;
866 } 865 }
867 866
868 } // namespace storage 867 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/blob/blob_url_request_job_factory.cc ('k') | storage/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698