Chromium Code Reviews

Side by Side Diff: chrome\browser\sync\util\character_set_converters_linux.cc

Issue 193103: Build sync engine as part of the browser build (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/util/character_set_converters.h" 5 #include "chrome/browser/sync/util/character_set_converters.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 using std::string; 9 using std::string;
10 10
(...skipping 40 matching lines...)
51 if ((c & 0x0f8) == 0x0f0) // 4-byte encoded char. 51 if ((c & 0x0f8) == 0x0f0) // 4-byte encoded char.
52 if (3 == partial_enc_bytes) 52 if (3 == partial_enc_bytes)
53 return; 53 return;
54 else 54 else
55 break; 55 break;
56 } 56 }
57 string->resize(string->length() - 1 - partial_enc_bytes); 57 string->resize(string->length() - 1 - partial_enc_bytes);
58 } 58 }
59 59
60 } // namespace browser_sync 60 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome\browser\sync\notifier\gaia_auth\win\win32window.cc ('k') | chrome\browser\sync\util\character_set_converters_win.cc » ('j') | no next file with comments »

Powered by Google App Engine