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

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

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/importer/importer_list.cc ('k') | chrome/browser/language_order_table_model.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_LANGUAGE_ORDER_TABLE_MODEL_H_ 5 #ifndef CHROME_BROWSER_LANGUAGE_ORDER_TABLE_MODEL_H_
6 #define CHROME_BROWSER_LANGUAGE_ORDER_TABLE_MODEL_H_ 6 #define CHROME_BROWSER_LANGUAGE_ORDER_TABLE_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "app/table_model.h" 12 #include "app/table_model.h"
13 #include "app/table_model_observer.h" 13
14 class TableModelObserver;
14 15
15 class LanguageOrderTableModel : public TableModel { 16 class LanguageOrderTableModel : public TableModel {
16 public: 17 public:
17 LanguageOrderTableModel(); 18 LanguageOrderTableModel();
18 19
19 // Set Language List. 20 // Set Language List.
20 void SetAcceptLanguagesString(const std::string& language_list); 21 void SetAcceptLanguagesString(const std::string& language_list);
21 22
22 // Add at the end. Return true if the language was added. 23 // Add at the end. Return true if the language was added.
23 bool Add(const std::string& language); 24 bool Add(const std::string& language);
(...skipping 30 matching lines...) Expand all
54 // Set of entries we're showing. 55 // Set of entries we're showing.
55 std::vector<std::string> languages_; 56 std::vector<std::string> languages_;
56 std::string comma_separated_language_list_; 57 std::string comma_separated_language_list_;
57 58
58 TableModelObserver* observer_; 59 TableModelObserver* observer_;
59 60
60 DISALLOW_COPY_AND_ASSIGN(LanguageOrderTableModel); 61 DISALLOW_COPY_AND_ASSIGN(LanguageOrderTableModel);
61 }; 62 };
62 63
63 #endif // CHROME_BROWSER_LANGUAGE_ORDER_TABLE_MODEL_H_ 64 #endif // CHROME_BROWSER_LANGUAGE_ORDER_TABLE_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/importer_list.cc ('k') | chrome/browser/language_order_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698