| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/utf_string_conversions.h" | 5 #include "base/utf_string_conversions.h" |
| 6 #include "chrome/browser/autofill/autocomplete_history_manager.h" | 6 #include "chrome/browser/autofill/autocomplete_history_manager.h" |
| 7 #include "chrome/browser/autofill/autofill_external_delegate.h" | 7 #include "chrome/browser/autofill/autofill_external_delegate.h" |
| 8 #include "chrome/browser/autofill/autofill_manager.h" | 8 #include "chrome/browser/autofill/autofill_manager.h" |
| 9 #include "chrome/common/autofill_messages.h" | 9 #include "chrome/common/autofill_messages.h" |
| 10 #include "chrome/common/chrome_constants.h" | 10 #include "chrome/common/chrome_constants.h" |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 data_list_labels_.begin(), | 336 data_list_labels_.begin(), |
| 337 data_list_labels_.end()); | 337 data_list_labels_.end()); |
| 338 autofill_icons->insert(autofill_icons->begin(), | 338 autofill_icons->insert(autofill_icons->begin(), |
| 339 data_list_icons_.begin(), | 339 data_list_icons_.begin(), |
| 340 data_list_icons_.end()); | 340 data_list_icons_.end()); |
| 341 autofill_unique_ids->insert(autofill_unique_ids->begin(), | 341 autofill_unique_ids->insert(autofill_unique_ids->begin(), |
| 342 data_list_unique_ids_.begin(), | 342 data_list_unique_ids_.begin(), |
| 343 data_list_unique_ids_.end()); | 343 data_list_unique_ids_.end()); |
| 344 } | 344 } |
| 345 | 345 |
| 346 // Add a "!defined(OS_YOUROS) for each platform that implements this | |
| 347 // in an autofill_external_delegate_YOUROS.cc. Currently there are | |
| 348 // none, so all platforms use the default. | |
| 349 | 346 |
| 350 #if !defined(OS_ANDROID) && !defined(TOOLKIT_GTK) | 347 #if defined(OS_MACOSX) |
| 351 | 348 |
| 352 AutofillExternalDelegate* AutofillExternalDelegate::Create( | 349 AutofillExternalDelegate* AutofillExternalDelegate::Create( |
| 353 TabContents*, AutofillManager*) { | 350 TabContents*, AutofillManager*) { |
| 354 return NULL; | 351 return NULL; |
| 355 } | 352 } |
| 356 | 353 |
| 357 #endif | 354 #endif |
| OLD | NEW |