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

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

Issue 465065: Use utf_string_conversions header in more places. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: rebased Created 11 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 | 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "base/file_path.h"
7 #include "base/file_util.h" 6 #include "base/file_util.h"
8 #include "base/file_version_info.h" 7 #include "base/file_version_info.h"
9 #include "base/string_util.h" 8 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/chrome_thread.h" 9 #include "chrome/browser/chrome_thread.h"
11 #include "chrome/browser/sync/glue/change_processor.h" 10 #include "chrome/browser/sync/glue/change_processor.h"
12 #include "chrome/browser/sync/glue/sync_backend_host.h" 11 #include "chrome/browser/sync/glue/sync_backend_host.h"
13 #include "chrome/browser/sync/glue/http_bridge.h" 12 #include "chrome/browser/sync/glue/http_bridge.h"
14 #include "chrome/browser/sync/glue/bookmark_model_worker.h" 13 #include "chrome/browser/sync/glue/bookmark_model_worker.h"
15 #include "webkit/glue/webkit_glue.h" 14 #include "webkit/glue/webkit_glue.h"
16 15
17 static const int kSaveChangesIntervalSeconds = 10; 16 static const int kSaveChangesIntervalSeconds = 10;
18 static const char kGaiaServiceId[] = "chromiumsync"; 17 static const char kGaiaServiceId[] = "chromiumsync";
19 static const char kGaiaSourceForChrome[] = "ChromiumBrowser"; 18 static const char kGaiaSourceForChrome[] = "ChromiumBrowser";
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 save_changes_timer_.Start( 289 save_changes_timer_.Start(
291 base::TimeDelta::FromSeconds(kSaveChangesIntervalSeconds), 290 base::TimeDelta::FromSeconds(kSaveChangesIntervalSeconds),
292 this, &Core::SaveChanges); 291 this, &Core::SaveChanges);
293 } 292 }
294 293
295 void SyncBackendHost::Core::SaveChanges() { 294 void SyncBackendHost::Core::SaveChanges() {
296 syncapi_->SaveChanges(); 295 syncapi_->SaveChanges();
297 } 296 }
298 297
299 } // namespace browser_sync 298 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/encryptor_win.cc ('k') | chrome/browser/views/about_chrome_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698