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

Side by Side Diff: chrome/browser/content_setting_combo_model.h

Issue 3159031: Remove wstrings from bookmarks, part 12. (Closed)
Patch Set: rebased ToT Created 10 years, 4 months 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
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 #ifndef CHROME_BROWSER_CONTENT_SETTING_COMBO_MODEL_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTING_COMBO_MODEL_H_
6 #define CHROME_BROWSER_CONTENT_SETTING_COMBO_MODEL_H_ 6 #define CHROME_BROWSER_CONTENT_SETTING_COMBO_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "app/combobox_model.h" 9 #include "app/combobox_model.h"
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/string16.h"
12 #include "chrome/common/content_settings.h" 13 #include "chrome/common/content_settings.h"
13 14
14 class ContentSettingComboModel : public ComboboxModel { 15 class ContentSettingComboModel : public ComboboxModel {
15 public: 16 public:
16 explicit ContentSettingComboModel(bool show_session); 17 explicit ContentSettingComboModel(bool show_session);
17 virtual ~ContentSettingComboModel(); 18 virtual ~ContentSettingComboModel();
18 19
19 virtual int GetItemCount(); 20 virtual int GetItemCount();
20 21 virtual string16 GetItemAt(int index);
21 virtual std::wstring GetItemAt(int index);
22 22
23 ContentSetting SettingForIndex(int index); 23 ContentSetting SettingForIndex(int index);
24 24
25 int IndexForSetting(ContentSetting); 25 int IndexForSetting(ContentSetting);
26 26
27 private: 27 private:
28 const bool show_session_; 28 const bool show_session_;
29 29
30 const bool disable_cookie_prompt_; 30 const bool disable_cookie_prompt_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(ContentSettingComboModel); 32 DISALLOW_COPY_AND_ASSIGN(ContentSettingComboModel);
33 }; 33 };
34 34
35 #endif // CHROME_BROWSER_CONTENT_SETTING_COMBO_MODEL_H_ 35 #endif // CHROME_BROWSER_CONTENT_SETTING_COMBO_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/system_page_view.cc ('k') | chrome/browser/content_setting_combo_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698