| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_SEARCH_ENGINES_KEYWORD_EDITOR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_ENGINES_KEYWORD_EDITOR_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_KEYWORD_EDITOR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_ENGINES_KEYWORD_EDITOR_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 | 13 |
| 14 class PrefRegistrySimple; | |
| 15 class Profile; | 14 class Profile; |
| 16 class TemplateURL; | 15 class TemplateURL; |
| 17 class TemplateURLService; | 16 class TemplateURLService; |
| 18 class TemplateURLTableModel; | 17 class TemplateURLTableModel; |
| 19 | 18 |
| 20 class KeywordEditorController { | 19 class KeywordEditorController { |
| 21 public: | 20 public: |
| 22 explicit KeywordEditorController(Profile* profile); | 21 explicit KeywordEditorController(Profile* profile); |
| 23 ~KeywordEditorController(); | 22 ~KeywordEditorController(); |
| 24 | 23 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 private: | 67 private: |
| 69 TemplateURLService* url_model_; | 68 TemplateURLService* url_model_; |
| 70 | 69 |
| 71 // Model for the TableView. | 70 // Model for the TableView. |
| 72 std::unique_ptr<TemplateURLTableModel> table_model_; | 71 std::unique_ptr<TemplateURLTableModel> table_model_; |
| 73 | 72 |
| 74 DISALLOW_COPY_AND_ASSIGN(KeywordEditorController); | 73 DISALLOW_COPY_AND_ASSIGN(KeywordEditorController); |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_KEYWORD_EDITOR_CONTROLLER_H_ | 76 #endif // CHROME_BROWSER_UI_SEARCH_ENGINES_KEYWORD_EDITOR_CONTROLLER_H_ |
| OLD | NEW |