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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_contacts_service_browsertest.cc

Issue 10837338: Remove "GData" prefix from non-GData specific classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. 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 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/gdata/gdata_contacts_service.h" 5 #include "chrome/browser/chromeos/gdata/gdata_contacts_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "chrome/browser/chromeos/contacts/contact.pb.h" 13 #include "chrome/browser/chromeos/contacts/contact.pb.h"
14 #include "chrome/browser/chromeos/contacts/contact_test_util.h" 14 #include "chrome/browser/chromeos/contacts/contact_test_util.h"
15 #include "chrome/browser/chromeos/gdata/gdata_auth_service.h" 15 #include "chrome/browser/chromeos/gdata/auth_service.h"
16 #include "chrome/browser/chromeos/gdata/gdata_util.h" 16 #include "chrome/browser/chromeos/gdata/gdata_util.h"
17 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/ui/browser.h" 18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/test/base/in_process_browser_test.h" 19 #include "chrome/test/base/in_process_browser_test.h"
20 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
21 #include "content/public/test/test_utils.h" 21 #include "content/public/test/test_utils.h"
22 #include "net/test/test_server.h" 22 #include "net/test/test_server.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 #include "ui/gfx/size.h" 24 #include "ui/gfx/size.h"
25 25
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 scoped_ptr<contacts::Contact> contact2(new contacts::Contact); 301 scoped_ptr<contacts::Contact> contact2(new contacts::Contact);
302 InitContact("http://example.com/2", "2012-06-21T16:20:13.208Z", 302 InitContact("http://example.com/2", "2012-06-21T16:20:13.208Z",
303 false, "Bob Smith", "Bob", "", "Smith", "", "", 303 false, "Bob Smith", "Bob", "", "Smith", "", "",
304 contact2.get()); 304 contact2.get());
305 EXPECT_EQ(contacts::test::VarContactsToString( 305 EXPECT_EQ(contacts::test::VarContactsToString(
306 2, contact1.get(), contact2.get()), 306 2, contact1.get(), contact2.get()),
307 contacts::test::ContactsToString(*contacts)); 307 contacts::test::ContactsToString(*contacts));
308 } 308 }
309 309
310 } // namespace gdata 310 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_contacts_service.cc ('k') | chrome/browser/chromeos/gdata/gdata_operation_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698