OLD | NEW |
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 "chrome/browser/chromeos/drive/change_list_processor.h" | 5 #include "chrome/browser/chromeos/drive/change_list_processor.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "chrome/browser/chromeos/drive/drive.pb.h" | 9 #include "chrome/browser/chromeos/drive/drive.pb.h" |
10 #include "chrome/browser/chromeos/drive/file_system_util.h" | 10 #include "chrome/browser/chromeos/drive/file_system_util.h" |
11 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h" | 11 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h" |
12 #include "chrome/browser/chromeos/drive/resource_metadata.h" | 12 #include "chrome/browser/chromeos/drive/resource_metadata.h" |
13 #include "chrome/browser/google_apis/drive_api_parser.h" | 13 #include "google_apis/drive/drive_api_parser.h" |
14 #include "chrome/browser/google_apis/gdata_wapi_parser.h" | 14 #include "google_apis/drive/gdata_wapi_parser.h" |
15 | 15 |
16 namespace drive { | 16 namespace drive { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 class ChangeListToEntryMapUMAStats { | 21 class ChangeListToEntryMapUMAStats { |
22 public: | 22 public: |
23 ChangeListToEntryMapUMAStats() | 23 ChangeListToEntryMapUMAStats() |
24 : num_regular_files_(0), | 24 : num_regular_files_(0), |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 resource_metadata_->GetSubDirectoriesRecursively(local_id, | 449 resource_metadata_->GetSubDirectoriesRecursively(local_id, |
450 &sub_directories); | 450 &sub_directories); |
451 changed_dirs_.insert(sub_directories.begin(), sub_directories.end()); | 451 changed_dirs_.insert(sub_directories.begin(), sub_directories.end()); |
452 } | 452 } |
453 } | 453 } |
454 } | 454 } |
455 } | 455 } |
456 | 456 |
457 } // namespace internal | 457 } // namespace internal |
458 } // namespace drive | 458 } // namespace drive |
OLD | NEW |