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

Side by Side Diff: ash/public/cpp/shelf_types.h

Issue 2833173002: mash: Support ShelfModel access in Chrome. (Closed)
Patch Set: Address comments; fix test failures. Created 3 years, 6 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 (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 ASH_PUBLIC_CPP_SHELF_TYPES_H_ 5 #ifndef ASH_PUBLIC_CPP_SHELF_TYPES_H_
6 #define ASH_PUBLIC_CPP_SHELF_TYPES_H_ 6 #define ASH_PUBLIC_CPP_SHELF_TYPES_H_
7 7
8 #include <cstdint> 8 #include <cstdint>
9 #include <string> 9 #include <string>
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // Deserialization returns an empty/null/default id for a null string input. 158 // Deserialization returns an empty/null/default id for a null string input.
159 std::string Serialize() const; 159 std::string Serialize() const;
160 static ShelfID Deserialize(const std::string* string); 160 static ShelfID Deserialize(const std::string* string);
161 161
162 // The application id associated with a set of windows. 162 // The application id associated with a set of windows.
163 std::string app_id; 163 std::string app_id;
164 // An id passed on app launch, to support multiple shelf items per app. 164 // An id passed on app launch, to support multiple shelf items per app.
165 std::string launch_id; 165 std::string launch_id;
166 }; 166 };
167 167
168 ASH_PUBLIC_EXPORT std::ostream& operator<<(std::ostream& o, const ShelfID& id);
169
168 } // namespace ash 170 } // namespace ash
169 171
170 #endif // ASH_PUBLIC_CPP_SHELF_TYPES_H_ 172 #endif // ASH_PUBLIC_CPP_SHELF_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698