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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/history/top_sites.cc ('k') | chrome/browser/importer/importer_host.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_HOST_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // complete. 134 // complete.
135 virtual void InvokeTaskIfDone(); 135 virtual void InvokeTaskIfDone();
136 136
137 // BaseBookmarkModelObserver: 137 // BaseBookmarkModelObserver:
138 virtual void Loaded(BookmarkModel* model) OVERRIDE; 138 virtual void Loaded(BookmarkModel* model) OVERRIDE;
139 virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; 139 virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE;
140 virtual void BookmarkModelChanged() OVERRIDE; 140 virtual void BookmarkModelChanged() OVERRIDE;
141 141
142 // NotificationObserver: 142 // NotificationObserver:
143 // Called when TemplateURLService has been loaded. 143 // Called when TemplateURLService has been loaded.
144 virtual void Observe(NotificationType type, 144 virtual void Observe(int type,
145 const NotificationSource& source, 145 const NotificationSource& source,
146 const NotificationDetails& details) OVERRIDE; 146 const NotificationDetails& details) OVERRIDE;
147 147
148 // True if UI is not to be shown. 148 // True if UI is not to be shown.
149 bool headless_; 149 bool headless_;
150 150
151 // Parent window that we pass to the import lock dialog (i.e, the Firefox 151 // Parent window that we pass to the import lock dialog (i.e, the Firefox
152 // warning dialog). 152 // warning dialog).
153 gfx::NativeWindow parent_window_; 153 gfx::NativeWindow parent_window_;
154 154
155 // The observer that we need to notify about changes in the import process. 155 // The observer that we need to notify about changes in the import process.
156 importer::ImporterProgressObserver* observer_; 156 importer::ImporterProgressObserver* observer_;
157 157
158 // Firefox profile lock. 158 // Firefox profile lock.
159 scoped_ptr<FirefoxProfileLock> firefox_lock_; 159 scoped_ptr<FirefoxProfileLock> firefox_lock_;
160 160
161 DISALLOW_COPY_AND_ASSIGN(ImporterHost); 161 DISALLOW_COPY_AND_ASSIGN(ImporterHost);
162 }; 162 };
163 163
164 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ 164 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/top_sites.cc ('k') | chrome/browser/importer/importer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698