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

Side by Side Diff: chrome/browser/signin/signin_names_io_thread_unittest.cc

Issue 19479003: Use a direct include of the message_loop header in chrome/browser/, part 10. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 "base/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "base/prefs/testing_pref_service.h" 6 #include "base/prefs/testing_pref_service.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/profiles/profile_info_cache.h" 9 #include "chrome/browser/profiles/profile_info_cache.h"
10 #include "chrome/browser/signin/signin_manager.h" 10 #include "chrome/browser/signin/signin_manager.h"
11 #include "chrome/browser/signin/signin_names_io_thread.h" 11 #include "chrome/browser/signin/signin_names_io_thread.h"
12 #include "chrome/test/base/testing_browser_process.h" 12 #include "chrome/test/base/testing_browser_process.h"
13 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
14 #include "chrome/test/base/testing_profile_manager.h" 14 #include "chrome/test/base/testing_profile_manager.h"
15 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 SigninNamesOnIOThread signin_names; 124 SigninNamesOnIOThread signin_names;
125 125
126 const SigninNamesOnIOThread::EmailSet& emails = signin_names.GetEmails(); 126 const SigninNamesOnIOThread::EmailSet& emails = signin_names.GetEmails();
127 ASSERT_EQ(2u, emails.size()); 127 ASSERT_EQ(2u, emails.size());
128 ASSERT_EQ(1u, emails.count(email1)); 128 ASSERT_EQ(1u, emails.count(email1));
129 ASSERT_EQ(1u, emails.count(email2)); 129 ASSERT_EQ(1u, emails.count(email2));
130 130
131 signin_names.ReleaseResourcesOnUIThread(); 131 signin_names.ReleaseResourcesOnUIThread();
132 } 132 }
OLDNEW
« no previous file with comments | « chrome/browser/signin/profile_oauth2_token_service.cc ('k') | chrome/browser/signin/token_service_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698