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

Unified Diff: chrome/browser/chromeos/contacts/google_contact_store.h

Issue 10933127: contacts: Don't save deleted contacts to disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 2 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/contacts/google_contact_store.h
diff --git a/chrome/browser/chromeos/contacts/google_contact_store.h b/chrome/browser/chromeos/contacts/google_contact_store.h
index 01bc4d40d5c0b972e3f201ad71c9d962e6e1137f..31f4a0493cc25d1dfc59a84b0ff416fb24adf992 100644
--- a/chrome/browser/chromeos/contacts/google_contact_store.h
+++ b/chrome/browser/chromeos/contacts/google_contact_store.h
@@ -45,7 +45,9 @@ class GoogleContactStore
~TestAPI();
bool update_scheduled() { return store_->update_timer_.IsRunning(); }
-
+ base::Time last_contact_update_time() const {
+ return store_->last_contact_update_time_;
+ }
void set_current_time(const base::Time& time) {
store_->current_time_for_testing_ = time;
}
@@ -63,6 +65,10 @@ class GoogleContactStore
// Notifies the store that the system has gone online or offline.
void NotifyAboutNetworkStateChange(bool online);
+ // Returns pointers to all of the contacts in the store's |contacts_|
+ // member.
+ scoped_ptr<ContactPointers> GetLoadedContacts();
+
private:
GoogleContactStore* store_; // not owned

Powered by Google App Engine
This is Rietveld 408576698