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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host.cc

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #if defined(BROWSER_SYNC)
6
7 #include "build/build_config.h" 5 #include "build/build_config.h"
8 #include "base/file_version_info.h" 6 #include "base/file_version_info.h"
9 #include "base/file_util.h" 7 #include "base/file_util.h"
10 #include "base/string_util.h" 8 #include "base/string_util.h"
11 #include "chrome/browser/chrome_thread.h" 9 #include "chrome/browser/chrome_thread.h"
12 #include "chrome/browser/sync/glue/change_processor.h" 10 #include "chrome/browser/sync/glue/change_processor.h"
13 #include "chrome/browser/sync/glue/sync_backend_host.h" 11 #include "chrome/browser/sync/glue/sync_backend_host.h"
14 #include "chrome/browser/sync/glue/http_bridge.h" 12 #include "chrome/browser/sync/glue/http_bridge.h"
15 #include "chrome/browser/sync/glue/bookmark_model_worker.h" 13 #include "chrome/browser/sync/glue/bookmark_model_worker.h"
16 #include "webkit/glue/webkit_glue.h" 14 #include "webkit/glue/webkit_glue.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 save_changes_timer_.Start( 304 save_changes_timer_.Start(
307 base::TimeDelta::FromSeconds(kSaveChangesIntervalSeconds), 305 base::TimeDelta::FromSeconds(kSaveChangesIntervalSeconds),
308 this, &Core::SaveChanges); 306 this, &Core::SaveChanges);
309 } 307 }
310 308
311 void SyncBackendHost::Core::SaveChanges() { 309 void SyncBackendHost::Core::SaveChanges() {
312 syncapi_->SaveChanges(); 310 syncapi_->SaveChanges();
313 } 311 }
314 312
315 } // namespace browser_sync 313 } // namespace browser_sync
316
317 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.h ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698