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

Side by Side Diff: sync/sessions/model_type_registry.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « sync/sessions/model_type_registry.h ('k') | sync/sessions/nudge_tracker.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "sync/sessions/model_type_registry.h" 5 #include "sync/sessions/model_type_registry.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/observer_list.h" 10 #include "base/observer_list.h"
9 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
10 #include "sync/engine/commit_queue.h" 12 #include "sync/engine/commit_queue.h"
11 #include "sync/engine/directory_commit_contributor.h" 13 #include "sync/engine/directory_commit_contributor.h"
12 #include "sync/engine/directory_update_handler.h" 14 #include "sync/engine/directory_update_handler.h"
13 #include "sync/engine/model_type_worker.h" 15 #include "sync/engine/model_type_worker.h"
14 #include "sync/internal_api/public/activation_context.h" 16 #include "sync/internal_api/public/activation_context.h"
15 #include "sync/internal_api/public/model_type_processor.h" 17 #include "sync/internal_api/public/model_type_processor.h"
16 #include "sync/sessions/directory_type_debug_info_emitter.h" 18 #include "sync/sessions/directory_type_debug_info_emitter.h"
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 ModelTypeSet enabled_off_thread_types; 294 ModelTypeSet enabled_off_thread_types;
293 for (ScopedVector<syncer_v2::ModelTypeWorker>::const_iterator it = 295 for (ScopedVector<syncer_v2::ModelTypeWorker>::const_iterator it =
294 model_type_workers_.begin(); 296 model_type_workers_.begin();
295 it != model_type_workers_.end(); ++it) { 297 it != model_type_workers_.end(); ++it) {
296 enabled_off_thread_types.Put((*it)->GetModelType()); 298 enabled_off_thread_types.Put((*it)->GetModelType());
297 } 299 }
298 return enabled_off_thread_types; 300 return enabled_off_thread_types;
299 } 301 }
300 302
301 } // namespace syncer 303 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/sessions/model_type_registry.h ('k') | sync/sessions/nudge_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698