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

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

Issue 114047: Add import progress indicator dialog. (Closed)
Patch Set: code review fixes Created 11 years, 7 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_ 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 virtual ~ImportObserver() {} 409 virtual ~ImportObserver() {}
410 // The import operation was canceled by the user. 410 // The import operation was canceled by the user.
411 // TODO (4164): this is never invoked, either rip it out or invoke it. 411 // TODO (4164): this is never invoked, either rip it out or invoke it.
412 virtual void ImportCanceled() = 0; 412 virtual void ImportCanceled() = 0;
413 413
414 // The import operation was completed successfully. 414 // The import operation was completed successfully.
415 virtual void ImportComplete() = 0; 415 virtual void ImportComplete() = 0;
416 }; 416 };
417 417
418 418
419 #if defined(OS_WIN) 419 #if !defined(OS_MACOSX)
420 // TODO(port): Make StartImportingWithUI portable. 420 // TODO(port): Make StartImportingWithUI portable.
421 421
422 // Shows a UI for importing and begins importing the specified items from 422 // Shows a UI for importing and begins importing the specified items from
423 // source_profile to target_profile. observer is notified when the process is 423 // source_profile to target_profile. observer is notified when the process is
424 // complete, can be NULL. parent is the window to parent the UI to, can be NULL 424 // complete, can be NULL. parent is the window to parent the UI to, can be NULL
425 // if there's nothing to parent to. first_run is true if it's invoked in the 425 // if there's nothing to parent to. first_run is true if it's invoked in the
426 // first run UI. 426 // first run UI.
427 void StartImportingWithUI(HWND parent_window, 427 void StartImportingWithUI(gfx::NativeWindow parent_window,
428 int16 items, 428 int16 items,
429 ImporterHost* coordinator, 429 ImporterHost* coordinator,
430 const ProfileInfo& source_profile, 430 const ProfileInfo& source_profile,
431 Profile* target_profile, 431 Profile* target_profile,
432 ImportObserver* observer, 432 ImportObserver* observer,
433 bool first_run); 433 bool first_run);
434 #endif 434 #endif
435 435
436 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_ 436 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox_profile_lock_posix.cc ('k') | chrome/browser/importer/importer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698