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

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

Issue 16387014: Use a direct include of utf_string_conversions.h in chrome/browser/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 (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/glue/synced_device_tracker.h" 5 #include "chrome/browser/sync/glue/synced_device_tracker.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/sync/glue/device_info.h" 9 #include "chrome/browser/sync/glue/device_info.h"
10 #include "sync/internal_api/public/base/model_type.h" 10 #include "sync/internal_api/public/base/model_type.h"
11 #include "sync/internal_api/public/read_node.h" 11 #include "sync/internal_api/public/read_node.h"
12 #include "sync/internal_api/public/read_transaction.h" 12 #include "sync/internal_api/public/read_transaction.h"
13 #include "sync/internal_api/public/user_share.h" 13 #include "sync/internal_api/public/user_share.h"
14 #include "sync/internal_api/public/write_node.h" 14 #include "sync/internal_api/public/write_node.h"
15 #include "sync/internal_api/public/write_transaction.h" 15 #include "sync/internal_api/public/write_transaction.h"
16 16
17 namespace browser_sync { 17 namespace browser_sync {
18 18
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 new_node.InitUniqueByCreation(syncer::DEVICE_INFO, 129 new_node.InitUniqueByCreation(syncer::DEVICE_INFO,
130 type_root, 130 type_root,
131 local_device_info_tag_); 131 local_device_info_tag_);
132 DCHECK_EQ(syncer::WriteNode::INIT_SUCCESS, create_result); 132 DCHECK_EQ(syncer::WriteNode::INIT_SUCCESS, create_result);
133 new_node.SetDeviceInfoSpecifics(specifics); 133 new_node.SetDeviceInfoSpecifics(specifics);
134 new_node.SetTitle(UTF8ToWide(specifics.client_name())); 134 new_node.SetTitle(UTF8ToWide(specifics.client_name()));
135 } 135 }
136 } 136 }
137 137
138 } // namespace browser_sync 138 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/glue/synced_session_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698