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_IMPORTER_IMPORTER_LIST_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_ |
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_ | 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
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_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "content/public/browser/browser_thread.h" | 14 #include "content/public/browser/browser_thread.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
16 | 16 |
17 namespace importer { | 17 namespace importer { |
18 class ImporterListObserver; | 18 class ImporterListObserver; |
19 struct SourceProfile; | 19 struct SourceProfile; |
20 } | 20 } |
21 | 21 |
22 class ImporterList : public base::RefCountedThreadSafe<ImporterList> { | 22 class ImporterList : public base::RefCountedThreadSafe<ImporterList> { |
23 public: | 23 public: |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // TODO(jhawkins): Remove once DetectSourceProfilesHack() is removed. | 89 // TODO(jhawkins): Remove once DetectSourceProfilesHack() is removed. |
90 bool is_observed_; | 90 bool is_observed_; |
91 | 91 |
92 // True if source profiles are loaded. | 92 // True if source profiles are loaded. |
93 bool source_profiles_loaded_; | 93 bool source_profiles_loaded_; |
94 | 94 |
95 DISALLOW_COPY_AND_ASSIGN(ImporterList); | 95 DISALLOW_COPY_AND_ASSIGN(ImporterList); |
96 }; | 96 }; |
97 | 97 |
98 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_ | 98 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_ |
OLD | NEW |