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/cookies_view_handler.h" | 5 #include "chrome/browser/dom_ui/cookies_view_handler.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/i18n/time_formatting.h" | 8 #include "base/i18n/time_formatting.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_split.h" |
10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
11 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "chrome/browser/browsing_data_appcache_helper.h" | 14 #include "chrome/browser/browsing_data_appcache_helper.h" |
14 #include "chrome/browser/browsing_data_database_helper.h" | 15 #include "chrome/browser/browsing_data_database_helper.h" |
15 #include "chrome/browser/browsing_data_local_storage_helper.h" | 16 #include "chrome/browser/browsing_data_local_storage_helper.h" |
16 #include "chrome/browser/profile.h" | 17 #include "chrome/browser/profile.h" |
17 #include "grit/generated_resources.h" | 18 #include "grit/generated_resources.h" |
18 #include "net/base/cookie_monster.h" | 19 #include "net/base/cookie_monster.h" |
19 | 20 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 child_index = parent->IndexOfChild(child); | 311 child_index = parent->IndexOfChild(child); |
311 if (child_index == -1) | 312 if (child_index == -1) |
312 break; | 313 break; |
313 | 314 |
314 parent = child; | 315 parent = child; |
315 } | 316 } |
316 | 317 |
317 if (child_index >= 0) | 318 if (child_index >= 0) |
318 cookies_tree_model_->DeleteCookieNode(child); | 319 cookies_tree_model_->DeleteCookieNode(child); |
319 } | 320 } |
OLD | NEW |