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

Side by Side Diff: chrome/browser/ui/cocoa/import_settings_dialog.mm

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #import "chrome/browser/ui/cocoa/import_settings_dialog.h" 5 #import "chrome/browser/ui/cocoa/import_settings_dialog.h"
6 6
7 #include "base/mac_util.h" 7 #include "base/mac_util.h"
8 #include "base/sys_string_conversions.h" 8 #include "base/sys_string_conversions.h"
9 #include "chrome/browser/importer/importer_data_types.h" 9 #include "chrome/browser/importer/importer_data_types.h"
10 #include "chrome/browser/importer/importer_list.h" 10 #include "chrome/browser/importer/importer_list.h"
11 #include "chrome/browser/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 12
13 namespace { 13 namespace {
14 14
15 bool importSettingsDialogVisible = false; 15 bool importSettingsDialogVisible = false;
16 16
17 } // namespace 17 } // namespace
18 18
19 @interface ImportSettingsDialogController () 19 @interface ImportSettingsDialogController ()
20 20
21 @property(assign, readwrite, nonatomic) BOOL historyAvailable; 21 @property(assign, readwrite, nonatomic) BOOL historyAvailable;
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 236
237 // KVO accessor which returns YES if at least one of the services 237 // KVO accessor which returns YES if at least one of the services
238 // provided by the selected profile has been marked for importing 238 // provided by the selected profile has been marked for importing
239 // and bound to the OK button's enable property. 239 // and bound to the OK button's enable property.
240 - (BOOL)importSomething { 240 - (BOOL)importSomething {
241 return [self importHistory] || [self importFavorites] || 241 return [self importHistory] || [self importFavorites] ||
242 [self importPasswords] || [self importSearchEngines]; 242 [self importPasswords] || [self importSearchEngines];
243 } 243 }
244 244
245 @end 245 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/html_dialog_window_controller.mm ('k') | chrome/browser/ui/cocoa/instant_confirm_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698