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

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

Issue 349543003: [SyncFS] Use pointers to MetadataDatabaseIndexInterface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Work for nits Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_index. h" 5 #include "chrome/browser/sync_file_system/drive_backend/metadata_database_index. h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants. h" 8 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants. h"
9 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
9 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" 10 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h"
10 11
11 namespace sync_file_system { 12 namespace sync_file_system {
12 namespace drive_backend { 13 namespace drive_backend {
13 14
14 ParentIDAndTitle::ParentIDAndTitle() : parent_id(0) {} 15 ParentIDAndTitle::ParentIDAndTitle() : parent_id(0) {}
15 ParentIDAndTitle::ParentIDAndTitle(int64 parent_id, 16 ParentIDAndTitle::ParentIDAndTitle(int64 parent_id,
16 const std::string& title) 17 const std::string& title)
17 : parent_id(parent_id), title(title) {} 18 : parent_id(parent_id), title(title) {}
18 19
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 501
501 DVLOG(3) << " Remove from dirty_trackers_: " << tracker_id; 502 DVLOG(3) << " Remove from dirty_trackers_: " << tracker_id;
502 dirty_trackers_.erase(tracker_id); 503 dirty_trackers_.erase(tracker_id);
503 504
504 demoted_dirty_trackers_.erase(tracker_id); 505 demoted_dirty_trackers_.erase(tracker_id);
505 } 506 }
506 } 507 }
507 508
508 } // namespace drive_backend 509 } // namespace drive_backend
509 } // namespace sync_file_system 510 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698