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

Side by Side Diff: chrome/browser/ui/app_list/app_list_prefs.h

Issue 1731483003: chrome: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2014 The Chromium Authors. All rights reserved. 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 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_APP_LIST_APP_LIST_PREFS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 25 matching lines...) Expand all
36 ITEM_TYPE_INVALID = 0, 36 ITEM_TYPE_INVALID = 0,
37 ITEM_TYPE_BEGIN, 37 ITEM_TYPE_BEGIN,
38 APP_ITEM = ITEM_TYPE_BEGIN, 38 APP_ITEM = ITEM_TYPE_BEGIN,
39 FOLDER_ITEM, 39 FOLDER_ITEM,
40 40
41 // Do not change the order of this enum. 41 // Do not change the order of this enum.
42 // When adding values, remember to update ITEM_TYPE_END. 42 // When adding values, remember to update ITEM_TYPE_END.
43 ITEM_TYPE_END = FOLDER_ITEM, 43 ITEM_TYPE_END = FOLDER_ITEM,
44 }; 44 };
45 AppListInfo(); 45 AppListInfo();
46 AppListInfo(const AppListInfo& other);
tapted 2016/02/24 00:36:13 Pretty sure this can be `= delete` -- only the ass
vmpstr 2016/02/24 00:43:06 If I delete it, then there's a compiler error on t
46 ~AppListInfo(); 47 ~AppListInfo();
47 scoped_ptr<base::DictionaryValue> CreateDictFromAppListInfo() const; 48 scoped_ptr<base::DictionaryValue> CreateDictFromAppListInfo() const;
48 49
49 static scoped_ptr<AppListPrefs::AppListInfo> CreateAppListInfoFromDict( 50 static scoped_ptr<AppListPrefs::AppListInfo> CreateAppListInfoFromDict(
50 const base::DictionaryValue* item_dict); 51 const base::DictionaryValue* item_dict);
51 52
52 // The id of the folder containing this item. 53 // The id of the folder containing this item.
53 std::string parent_id; 54 std::string parent_id;
54 55
55 // The name of this item. 56 // The name of this item.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 explicit AppListPrefs(PrefService* pref_service); 89 explicit AppListPrefs(PrefService* pref_service);
89 90
90 PrefService* pref_service_; 91 PrefService* pref_service_;
91 92
92 DISALLOW_COPY_AND_ASSIGN(AppListPrefs); 93 DISALLOW_COPY_AND_ASSIGN(AppListPrefs);
93 }; 94 };
94 95
95 } // namespace app_list 96 } // namespace app_list
96 97
97 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_H_ 98 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager.cc ('k') | chrome/browser/ui/app_list/app_list_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698