OLD | NEW |
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 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_NAMES_IO_THREAD_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_NAMES_IO_THREAD_H_ |
6 #define CHROME_BROWSER_SIGNIN_SIGNIN_NAMES_IO_THREAD_H_ | 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_NAMES_IO_THREAD_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class NotificationDetails; | 18 class NotificationDetails; |
19 class NotificationSource; | 19 class NotificationSource; |
20 } | 20 } |
21 | 21 |
22 | 22 |
23 // This class provides access to a list of email addresses for all profiles | 23 // This class provides access to a list of email addresses for all profiles |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // Updates the email set on the I/O thread. Protected for testing. | 64 // Updates the email set on the I/O thread. Protected for testing. |
65 void UpdateOnIOThread(int type, const string16& email); | 65 void UpdateOnIOThread(int type, const string16& email); |
66 | 66 |
67 scoped_ptr<content::NotificationRegistrar> registrar_; | 67 scoped_ptr<content::NotificationRegistrar> registrar_; |
68 EmailSet emails_; | 68 EmailSet emails_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(SigninNamesOnIOThread); | 70 DISALLOW_COPY_AND_ASSIGN(SigninNamesOnIOThread); |
71 }; | 71 }; |
72 | 72 |
73 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_NAMES_IO_THREAD_H_ | 73 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_NAMES_IO_THREAD_H_ |
OLD | NEW |