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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/icon_manager.h ('k') | chrome/browser/instant/instant_controller.h » ('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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const importer::SourceProfile& source_profile, 74 const importer::SourceProfile& source_profile,
75 Profile* target_profile, 75 Profile* target_profile,
76 uint16 items, 76 uint16 items,
77 ProfileWriter* writer, 77 ProfileWriter* writer,
78 bool first_run); 78 bool first_run);
79 79
80 // Cancels the import process. 80 // Cancels the import process.
81 virtual void Cancel(); 81 virtual void Cancel();
82 82
83 protected: 83 protected:
84 ~ImporterHost(); 84 virtual ~ImporterHost();
85 85
86 // Returns true if importer should import to bookmark bar. 86 // Returns true if importer should import to bookmark bar.
87 bool ShouldImportToBookmarkBar(bool first_run); 87 bool ShouldImportToBookmarkBar(bool first_run);
88 88
89 // Make sure that Firefox isn't running, if import browser is Firefox. Show 89 // Make sure that Firefox isn't running, if import browser is Firefox. Show
90 // to the user a dialog that notifies that is necessary to close Firefox 90 // to the user a dialog that notifies that is necessary to close Firefox
91 // prior to continue. 91 // prior to continue.
92 // |source_profile| - importer profile to import. 92 // |source_profile| - importer profile to import.
93 // |items| - specifies which data to import (bitmask of importer::ImportItem). 93 // |items| - specifies which data to import (bitmask of importer::ImportItem).
94 // |first_run| - true if this method is being called during first run. 94 // |first_run| - true if this method is being called during first run.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // The observer that we need to notify about changes in the import process. 158 // The observer that we need to notify about changes in the import process.
159 importer::ImporterProgressObserver* observer_; 159 importer::ImporterProgressObserver* observer_;
160 160
161 // Firefox profile lock. 161 // Firefox profile lock.
162 scoped_ptr<FirefoxProfileLock> firefox_lock_; 162 scoped_ptr<FirefoxProfileLock> firefox_lock_;
163 163
164 DISALLOW_COPY_AND_ASSIGN(ImporterHost); 164 DISALLOW_COPY_AND_ASSIGN(ImporterHost);
165 }; 165 };
166 166
167 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_ 167 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/icon_manager.h ('k') | chrome/browser/instant/instant_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698