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

Side by Side Diff: components/doodle/doodle_types.h

Issue 2726883002: [Doodle] Replace the expiry_date in DoodleConfig by time_to_live (Closed)
Patch Set: review Created 3 years, 9 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_DOODLE_DOODLE_TYPES_H_ 5 #ifndef COMPONENTS_DOODLE_DOODLE_TYPES_H_
6 #define COMPONENTS_DOODLE_DOODLE_TYPES_H_ 6 #define COMPONENTS_DOODLE_DOODLE_TYPES_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 GURL search_url; 63 GURL search_url;
64 GURL target_url; 64 GURL target_url;
65 GURL fullpage_interactive_url; 65 GURL fullpage_interactive_url;
66 66
67 DoodleImage large_image; 67 DoodleImage large_image;
68 DoodleImage large_cta_image; 68 DoodleImage large_cta_image;
69 DoodleImage transparent_large_image; 69 DoodleImage transparent_large_image;
70 70
71 // TODO(treib,fhorschig): Don't expose this? Clients don't care about it. 71 // TODO(treib,fhorschig): Don't expose this? Clients don't care about it.
72 base::Time expiry_date; 72 base::TimeDelta time_to_live;
73 73
74 // Copying and assignment allowed. 74 // Copying and assignment allowed.
75 }; 75 };
76 76
77 } // namespace doodle 77 } // namespace doodle
78 78
79 #endif // COMPONENTS_DOODLE_DOODLE_TYPES_H_ 79 #endif // COMPONENTS_DOODLE_DOODLE_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698