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

Side by Side Diff: chrome_frame/turndown_prompt/reshow_state.h

Issue 18054007: Use a direct include of time headers in chrome_frame/, chromeos/, cloud_print/, components/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_TURNDOWN_PROMPT_RESHOW_STATE_H_ 5 #ifndef CHROME_FRAME_TURNDOWN_PROMPT_RESHOW_STATE_H_
6 #define CHROME_FRAME_TURNDOWN_PROMPT_RESHOW_STATE_H_ 6 #define CHROME_FRAME_TURNDOWN_PROMPT_RESHOW_STATE_H_
7 7
8 #include "base/time.h" 8 #include "base/time/time.h"
9 9
10 namespace turndown_prompt { 10 namespace turndown_prompt {
11 11
12 class ReshowState { 12 class ReshowState {
13 public: 13 public:
14 explicit ReshowState(const base::TimeDelta& reshow_delta); 14 explicit ReshowState(const base::TimeDelta& reshow_delta);
15 ~ReshowState(); 15 ~ReshowState();
16 16
17 bool HasReshowDeltaExpired(const base::Time& current_time) const; 17 bool HasReshowDeltaExpired(const base::Time& current_time) const;
18 void MarkShown(const base::Time& last_shown_time); 18 void MarkShown(const base::Time& last_shown_time);
19 19
20 private: 20 private:
21 base::TimeDelta reshow_delta_; 21 base::TimeDelta reshow_delta_;
22 }; 22 };
23 23
24 } // namespace turndown_prompt 24 } // namespace turndown_prompt
25 25
26 #endif // CHROME_FRAME_TURNDOWN_PROMPT_RESHOW_STATE_H_ 26 #endif // CHROME_FRAME_TURNDOWN_PROMPT_RESHOW_STATE_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/reliability/page_load_test.cc ('k') | chromeos/dbus/fake_bluetooth_adapter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698