Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: chrome/browser/content_exceptions_table_model.cc

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/content_exceptions_table_model.h ('k') | chrome/browser/content_setting_bubble_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698