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

Side by Side Diff: chrome/browser/bookmarks/recently_used_folders_combo_model.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/bookmarks/bookmark_utils.h ('k') | chrome/browser/prefs/browser_prefs.h » ('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) 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_BOOKMARKS_RECENTLY_USED_FOLDERS_COMBO_MODEL_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_RECENTLY_USED_FOLDERS_COMBO_MODEL_H_
6 #define CHROME_BROWSER_BOOKMARKS_RECENTLY_USED_FOLDERS_COMBO_MODEL_H_ 6 #define CHROME_BROWSER_BOOKMARKS_RECENTLY_USED_FOLDERS_COMBO_MODEL_H_
7 #pragma once
8 7
9 #include <vector> 8 #include <vector>
10 9
11 #include "base/string16.h" 10 #include "base/string16.h"
12 #include "chrome/browser/bookmarks/bookmark_model.h" 11 #include "chrome/browser/bookmarks/bookmark_model.h"
13 #include "ui/base/models/combobox_model.h" 12 #include "ui/base/models/combobox_model.h"
14 13
15 // Model for the combobox showing the list of folders to choose from. The 14 // Model for the combobox showing the list of folders to choose from. The
16 // list always contains the bookmark bar, other node and parent. The list 15 // list always contains the bookmark bar, other node and parent. The list
17 // also contains an extra item that shows the text 'Choose another folder...'. 16 // also contains an extra item that shows the text 'Choose another folder...'.
(...skipping 16 matching lines...) Expand all
34 // Removes |node| from |nodes_|. Does nothing if |node| is not in |nodes_|. 33 // Removes |node| from |nodes_|. Does nothing if |node| is not in |nodes_|.
35 void RemoveNode(const BookmarkNode* node); 34 void RemoveNode(const BookmarkNode* node);
36 35
37 std::vector<const BookmarkNode*> nodes_; 36 std::vector<const BookmarkNode*> nodes_;
38 int node_parent_index_; 37 int node_parent_index_;
39 38
40 DISALLOW_COPY_AND_ASSIGN(RecentlyUsedFoldersComboModel); 39 DISALLOW_COPY_AND_ASSIGN(RecentlyUsedFoldersComboModel);
41 }; 40 };
42 41
43 #endif // CHROME_BROWSER_BOOKMARKS_RECENTLY_USED_FOLDERS_COMBO_MODEL_H_ 42 #endif // CHROME_BROWSER_BOOKMARKS_RECENTLY_USED_FOLDERS_COMBO_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.h ('k') | chrome/browser/prefs/browser_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698