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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/metadata_database.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/sync_file_system/drive_backend/metadata_database.h" 5 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <stack> 8 #include <stack>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ptr_util.h" 17 #include "base/memory/ptr_util.h"
18 #include "base/memory/scoped_vector.h" 18 #include "base/memory/scoped_vector.h"
19 #include "base/metrics/histogram_macros.h" 19 #include "base/metrics/histogram_macros.h"
20 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
21 #include "base/stl_util.h" 21 #include "base/stl_util.h"
22 #include "base/strings/string_number_conversions.h" 22 #include "base/strings/string_number_conversions.h"
23 #include "base/strings/string_util.h" 23 #include "base/strings/string_util.h"
24 #include "base/strings/stringprintf.h"
25 #include "base/task_runner_util.h" 24 #include "base/task_runner_util.h"
26 #include "base/threading/thread_restrictions.h" 25 #include "base/threading/thread_restrictions.h"
27 #include "base/threading/thread_task_runner_handle.h" 26 #include "base/threading/thread_task_runner_handle.h"
28 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants. h" 27 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants. h"
29 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h" 28 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_util.h"
30 #include "chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.h" 29 #include "chrome/browser/sync_file_system/drive_backend/leveldb_wrapper.h"
31 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" 30 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h"
32 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index. h" 31 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index. h"
33 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_ interface.h" 32 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_ interface.h"
34 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_ on_disk.h" 33 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_ on_disk.h"
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 return false; 1804 return false;
1806 1805
1807 if (!parents.empty()) 1806 if (!parents.empty())
1808 return false; 1807 return false;
1809 1808
1810 return true; 1809 return true;
1811 } 1810 }
1812 1811
1813 } // namespace drive_backend 1812 } // namespace drive_backend
1814 } // namespace sync_file_system 1813 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698