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

Side by Side Diff: chrome/browser/ui/webui/options/import_data_handler.h

Issue 7619003: Don't show import success message if the user cancels the import. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 4 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 | « no previous file | chrome/browser/ui/webui/options/import_data_handler.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_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE; 43 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE;
44 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE; 44 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE;
45 virtual void ImportEnded() OVERRIDE; 45 virtual void ImportEnded() OVERRIDE;
46 46
47 scoped_refptr<ImporterList> importer_list_; 47 scoped_refptr<ImporterList> importer_list_;
48 48
49 // If non-null it means importing is in progress. ImporterHost takes care 49 // If non-null it means importing is in progress. ImporterHost takes care
50 // of deleting itself when import is complete. 50 // of deleting itself when import is complete.
51 ImporterHost* importer_host_; // weak 51 ImporterHost* importer_host_; // weak
52 52
53 bool import_did_succeed_;
54
53 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler); 55 DISALLOW_COPY_AND_ASSIGN(ImportDataHandler);
54 }; 56 };
55 57
56 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_ 58 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_IMPORT_DATA_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/options/import_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698