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

Unified Diff: chrome/browser/chromeos/gdata/gdata_contacts_service.h

Issue 10829435: contacts: Strip Unicode byte order marks from strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use escaped bytes instead of utf-8 in test code Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_contacts_service.h
diff --git a/chrome/browser/chromeos/gdata/gdata_contacts_service.h b/chrome/browser/chromeos/gdata/gdata_contacts_service.h
index e5a275fc890d38f8286368c1b6c581de179eb48c..57da4a9a4057c222713ee777bbaefd64cfc89596 100644
--- a/chrome/browser/chromeos/gdata/gdata_contacts_service.h
+++ b/chrome/browser/chromeos/gdata/gdata_contacts_service.h
@@ -71,6 +71,9 @@ class GDataContactsService : public GDataContactsServiceInterface {
const std::string& cached_my_contacts_group_id_for_testing() const {
return cached_my_contacts_group_id_;
}
+ void clear_cached_my_contacts_group_id_for_testing() {
+ cached_my_contacts_group_id_.clear();
+ }
void set_max_photo_downloads_per_second_for_testing(int max_downloads) {
max_photo_downloads_per_second_ = max_downloads;
« no previous file with comments | « chrome/browser/chromeos/contacts/contact.proto ('k') | chrome/browser/chromeos/gdata/gdata_contacts_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698