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

Side by Side Diff: content/renderer/origin_trials/trial_token.h

Issue 1680873002: [Experimental Framework] Move trial token code to renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add boringssl dependency to content/renderer/ 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
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/origin_trials/trial_token.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_COMMON_ORIGIN_TRIALS_TRIAL_TOKEN_H_ 5 #ifndef CONTENT_RENDERER_ORIGIN_TRIALS_TRIAL_TOKEN_H_
6 #define CONTENT_COMMON_ORIGIN_TRIALS_TRIAL_TOKEN_H_ 6 #define CONTENT_RENDERER_ORIGIN_TRIALS_TRIAL_TOKEN_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 namespace content { 16 namespace content {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // The name of the experimental feature which this token enables. 86 // The name of the experimental feature which this token enables.
87 std::string feature_name_; 87 std::string feature_name_;
88 88
89 // The time until which this token should be considered valid, in UTC, as 89 // The time until which this token should be considered valid, in UTC, as
90 // seconds since the Unix epoch. 90 // seconds since the Unix epoch.
91 uint64_t expiry_timestamp_; 91 uint64_t expiry_timestamp_;
92 }; 92 };
93 93
94 } // namespace content 94 } // namespace content
95 95
96 #endif // CONTENT_COMMON_ORIGIN_TRIALS_TRIAL_TOKEN_H_ 96 #endif // CONTENT_RENDERER_ORIGIN_TRIALS_TRIAL_TOKEN_H_
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/origin_trials/trial_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698