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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
« no previous file with comments | « sync/sessions/sync_session.h ('k') | sync/sessions/sync_session_context.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 (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/sync/sessions/sync_session.h" 5 #include "sync/sessions/sync_session.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/sync/syncable/model_type.h" 10 #include "sync/syncable/model_type.h"
11 #include "chrome/browser/sync/syncable/syncable.h" 11 #include "sync/syncable/syncable.h"
12 12
13 namespace browser_sync { 13 namespace browser_sync {
14 namespace sessions { 14 namespace sessions {
15 15
16 namespace { 16 namespace {
17 17
18 std::set<ModelSafeGroup> ComputeEnabledGroups( 18 std::set<ModelSafeGroup> ComputeEnabledGroups(
19 const ModelSafeRoutingInfo& routing_info, 19 const ModelSafeRoutingInfo& routing_info,
20 const std::vector<ModelSafeWorker*>& workers) { 20 const std::vector<ModelSafeWorker*>& workers) {
21 std::set<ModelSafeGroup> enabled_groups; 21 std::set<ModelSafeGroup> enabled_groups;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 IsError(status_controller_->error().last_post_commit_result); 244 IsError(status_controller_->error().last_post_commit_result);
245 const bool process_commit_response_error = 245 const bool process_commit_response_error =
246 IsError(status_controller_->error().last_process_commit_response_result); 246 IsError(status_controller_->error().last_process_commit_response_result);
247 return !download_updates_error 247 return !download_updates_error
248 && !post_commit_error 248 && !post_commit_error
249 && !process_commit_response_error; 249 && !process_commit_response_error;
250 } 250 }
251 251
252 } // namespace sessions 252 } // namespace sessions
253 } // namespace browser_sync 253 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/sessions/sync_session.h ('k') | sync/sessions/sync_session_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698