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

Side by Side Diff: chrome/browser/chromeos/contacts/google_contact_store_unittest.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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) 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/chromeos/contacts/google_contact_store.h" 5 #include "chrome/browser/chromeos/contacts/google_contact_store.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "chrome/browser/chromeos/contacts/contact.pb.h" 11 #include "chrome/browser/chromeos/contacts/contact.pb.h"
12 #include "chrome/browser/chromeos/contacts/contact_store_observer.h" 12 #include "chrome/browser/chromeos/contacts/contact_store_observer.h"
13 #include "chrome/browser/chromeos/contacts/contact_test_util.h" 13 #include "chrome/browser/chromeos/contacts/contact_test_util.h"
14 #include "chrome/browser/chromeos/contacts/fake_contact_database.h" 14 #include "chrome/browser/chromeos/contacts/fake_contact_database.h"
15 #include "chrome/browser/chromeos/contacts/gdata_contacts_service_stub.h" 15 #include "chrome/browser/chromeos/contacts/gdata_contacts_service_stub.h"
16 #include "chrome/browser/google_apis/time_util.h"
17 #include "chrome/test/base/testing_profile.h" 16 #include "chrome/test/base/testing_profile.h"
18 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
19 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
19 #include "google_apis/drive/time_util.h"
20 #include "net/base/network_change_notifier.h" 20 #include "net/base/network_change_notifier.h"
21 #include "net/url_request/url_request_test_util.h" 21 #include "net/url_request/url_request_test_util.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using content::BrowserThread; 24 using content::BrowserThread;
25 25
26 namespace contacts { 26 namespace contacts {
27 namespace test { 27 namespace test {
28 28
29 // ContactStoreObserver implementation that just counts the number of times 29 // ContactStoreObserver implementation that just counts the number of times
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 ContactPointers loaded_contacts; 531 ContactPointers loaded_contacts;
532 store_->AppendContacts(&loaded_contacts); 532 store_->AppendContacts(&loaded_contacts);
533 EXPECT_EQ(ContactsToString(gdata_contacts), 533 EXPECT_EQ(ContactsToString(gdata_contacts),
534 ContactsToString(loaded_contacts)); 534 ContactsToString(loaded_contacts));
535 EXPECT_TRUE(test_api_->update_scheduled()); 535 EXPECT_TRUE(test_api_->update_scheduled());
536 536
537 } 537 }
538 538
539 } // namespace test 539 } // namespace test
540 } // namespace contacts 540 } // namespace contacts
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/contacts/google_contact_store.cc ('k') | chrome/browser/chromeos/drive/async_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698