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

Side by Side Diff: chrome/browser/importer/importer_list.h

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/importer/importer_host.cc ('k') | chrome/browser/importer/importer_list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // The list of profiles with the default one first. 69 // The list of profiles with the default one first.
70 ScopedVector<importer::SourceProfile> source_profiles_; 70 ScopedVector<importer::SourceProfile> source_profiles_;
71 71
72 // Needed for Google Toolbar Import to connect to Toolbar server. 72 // Needed for Google Toolbar Import to connect to Toolbar server.
73 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; 73 scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
74 74
75 // The ID of the thread DetectSourceProfiles() is called on. Only valid after 75 // The ID of the thread DetectSourceProfiles() is called on. Only valid after
76 // DetectSourceProfiles() is called and until SourceProfilesLoaded() has 76 // DetectSourceProfiles() is called and until SourceProfilesLoaded() has
77 // returned. 77 // returned.
78 BrowserThread::ID source_thread_id_; 78 content::BrowserThread::ID source_thread_id_;
79 79
80 // Weak reference. Only valid after DetectSourceProfiles() is called and until 80 // Weak reference. Only valid after DetectSourceProfiles() is called and until
81 // SourceProfilesLoaded() has returned. 81 // SourceProfilesLoaded() has returned.
82 importer::ImporterListObserver* observer_; 82 importer::ImporterListObserver* observer_;
83 83
84 // True if |observer_| is set during the lifetime of source profile detection. 84 // True if |observer_| is set during the lifetime of source profile detection.
85 // This hack is necessary in order to not use |observer_| != NULL as a method 85 // This hack is necessary in order to not use |observer_| != NULL as a method
86 // of determining whether this object is being observed or not. 86 // of determining whether this object is being observed or not.
87 // TODO(jhawkins): Remove once DetectSourceProfilesHack() is removed. 87 // TODO(jhawkins): Remove once DetectSourceProfilesHack() is removed.
88 bool is_observed_; 88 bool is_observed_;
89 89
90 // True if source profiles are loaded. 90 // True if source profiles are loaded.
91 bool source_profiles_loaded_; 91 bool source_profiles_loaded_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(ImporterList); 93 DISALLOW_COPY_AND_ASSIGN(ImporterList);
94 }; 94 };
95 95
96 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_ 96 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_LIST_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_host.cc ('k') | chrome/browser/importer/importer_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698