app_shell: Add version number in user agent
[chromium-blink-merge.git] / chrome / browser / ui / passwords / save_password_refusal_combobox_model.h
blobd966cea4f71cc746e8c48cd829e0658ce1b49520
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_SAVE_PASSWORD_REFUSAL_COMBOBOX_MODEL_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_SAVE_PASSWORD_REFUSAL_COMBOBOX_MODEL_H_
8 #include <vector>
9 #include "base/basictypes.h"
10 #include "base/strings/string16.h"
11 #include "ui/base/models/combobox_model.h"
13 class SavePasswordRefusalComboboxModel : public ui::ComboboxModel {
14 public:
15 enum { INDEX_NOPE = 0, INDEX_NEVER_FOR_THIS_SITE = 1 };
17 SavePasswordRefusalComboboxModel();
18 virtual ~SavePasswordRefusalComboboxModel();
20 private:
21 // Overridden from ui::ComboboxModel:
22 virtual int GetItemCount() const OVERRIDE;
23 virtual base::string16 GetItemAt(int index) OVERRIDE;
24 virtual bool IsItemSeparatorAt(int index) OVERRIDE;
25 virtual int GetDefaultIndex() const OVERRIDE;
27 std::vector<base::string16> items_;
29 DISALLOW_COPY_AND_ASSIGN(SavePasswordRefusalComboboxModel);
33 #endif // CHROME_BROWSER_UI_PASSWORDS_SAVE_PASSWORD_REFUSAL_COMBOBOX_MODEL_H_