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

Side by Side Diff: components/drive/drive_app_registry.h

Issue 1728033002: components: 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 COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ 5 #ifndef COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_
6 #define COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ 6 #define COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 24 matching lines...) Expand all
35 typedef std::vector<std::pair<int, GURL> > IconList; 35 typedef std::vector<std::pair<int, GURL> > IconList;
36 36
37 DriveAppInfo(); 37 DriveAppInfo();
38 DriveAppInfo(const std::string& app_id, 38 DriveAppInfo(const std::string& app_id,
39 const std::string& product_id, 39 const std::string& product_id,
40 const IconList& app_icons, 40 const IconList& app_icons,
41 const IconList& document_icons, 41 const IconList& document_icons,
42 const std::string& app_name, 42 const std::string& app_name,
43 const GURL& create_url, 43 const GURL& create_url,
44 bool is_removable); 44 bool is_removable);
45 DriveAppInfo(const DriveAppInfo& other);
45 ~DriveAppInfo(); 46 ~DriveAppInfo();
46 47
47 // Drive app id. 48 // Drive app id.
48 std::string app_id; 49 std::string app_id;
49 // Drive app's product id. This is different from app id that is used inside 50 // Drive app's product id. This is different from app id that is used inside
50 // Drive. Product id is an id for the app in webstore; hence, it can be used 51 // Drive. Product id is an id for the app in webstore; hence, it can be used
51 // for identifying the same app install as Chrome extension and as Drive app 52 // for identifying the same app install as Chrome extension and as Drive app
52 // at the same time. 53 // at the same time.
53 std::string product_id; 54 std::string product_id;
54 // Drive application icon URLs for this app, paired with their size (length of 55 // Drive application icon URLs for this app, paired with their size (length of
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Icons do not have to be sorted by the icon size. If there are no icons in 153 // Icons do not have to be sorted by the icon size. If there are no icons in
153 // the list, returns an empty URL. 154 // the list, returns an empty URL.
154 GURL FindPreferredIcon(const DriveAppInfo::IconList& icons, 155 GURL FindPreferredIcon(const DriveAppInfo::IconList& icons,
155 int preferred_size); 156 int preferred_size);
156 157
157 } // namespace util 158 } // namespace util
158 159
159 } // namespace drive 160 } // namespace drive
160 161
161 #endif // COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_ 162 #endif // COMPONENTS_DRIVE_DRIVE_APP_REGISTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698