| OLD | NEW |
| 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 #include "chrome/browser/dom_ui/add_startup_page_handler.h" | 5 #include "chrome/browser/dom_ui/add_startup_page_handler.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/string_number_conversions.h" | 8 #include "base/string_number_conversions.h" |
| 10 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 11 #include "base/values.h" | 10 #include "base/values.h" |
| 12 #include "chrome/browser/possible_url_model.h" | 11 #include "chrome/browser/possible_url_model.h" |
| 13 #include "chrome/browser/pref_service.h" | 12 #include "chrome/browser/pref_service.h" |
| 14 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profile.h" |
| 15 #include "chrome/common/pref_names.h" | 14 #include "chrome/common/pref_names.h" |
| 16 #include "grit/chromium_strings.h" | 15 #include "grit/chromium_strings.h" |
| 17 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
| 18 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 OnModelChanged(); | 93 OnModelChanged(); |
| 95 } | 94 } |
| 96 | 95 |
| 97 void AddStartupPageHandler::OnItemsAdded(int start, int length) { | 96 void AddStartupPageHandler::OnItemsAdded(int start, int length) { |
| 98 OnModelChanged(); | 97 OnModelChanged(); |
| 99 } | 98 } |
| 100 | 99 |
| 101 void AddStartupPageHandler::OnItemsRemoved(int start, int length) { | 100 void AddStartupPageHandler::OnItemsRemoved(int start, int length) { |
| 102 OnModelChanged(); | 101 OnModelChanged(); |
| 103 } | 102 } |
| OLD | NEW |