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/content_exceptions_table_model.h" | 5 #include "chrome/browser/content_exceptions_table_model.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/table_model_observer.h" | 8 #include "app/table_model_observer.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/host_content_settings_map.h" | 10 #include "chrome/browser/content_settings/host_content_settings_map.h" |
11 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
12 | 12 |
13 ContentExceptionsTableModel::ContentExceptionsTableModel( | 13 ContentExceptionsTableModel::ContentExceptionsTableModel( |
14 HostContentSettingsMap* map, | 14 HostContentSettingsMap* map, |
15 HostContentSettingsMap* off_the_record_map, | 15 HostContentSettingsMap* off_the_record_map, |
16 ContentSettingsType type) | 16 ContentSettingsType type) |
17 : map_(map), | 17 : map_(map), |
18 off_the_record_map_(off_the_record_map), | 18 off_the_record_map_(off_the_record_map), |
19 content_type_(type), | 19 content_type_(type), |
20 observer_(NULL) { | 20 observer_(NULL) { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 default: | 125 default: |
126 NOTREACHED(); | 126 NOTREACHED(); |
127 } | 127 } |
128 | 128 |
129 return std::wstring(); | 129 return std::wstring(); |
130 } | 130 } |
131 | 131 |
132 void ContentExceptionsTableModel::SetObserver(TableModelObserver* observer) { | 132 void ContentExceptionsTableModel::SetObserver(TableModelObserver* observer) { |
133 observer_ = observer; | 133 observer_ = observer; |
134 } | 134 } |
OLD | NEW |