| OLD | NEW |
| 1 // Copyright (c) 2010 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 #include "chrome/browser/gtk/gtk_chrome_cookie_view.h" | 5 #include "chrome/browser/gtk/gtk_chrome_cookie_view.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/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/gtk/gtk_util.h" | 10 #include "chrome/browser/gtk/gtk_util.h" |
| 11 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 int store_size = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL); | 666 int store_size = gtk_tree_model_iter_n_children(GTK_TREE_MODEL(store), NULL); |
| 667 if (store_size == 1) | 667 if (store_size == 1) |
| 668 return false; | 668 return false; |
| 669 | 669 |
| 670 DCHECK_EQ(2, store_size); | 670 DCHECK_EQ(2, store_size); |
| 671 | 671 |
| 672 int selected = gtk_combo_box_get_active(GTK_COMBO_BOX( | 672 int selected = gtk_combo_box_get_active(GTK_COMBO_BOX( |
| 673 self->cookie_expires_combobox_)); | 673 self->cookie_expires_combobox_)); |
| 674 return selected == 1; | 674 return selected == 1; |
| 675 } | 675 } |
| OLD | NEW |