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

Side by Side Diff: ash/system/session/tray_session_length_limit.cc

Issue 2920613003: Clean up unused grit header includes in ash/. (Closed)
Patch Set: 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
« no previous file with comments | « ash/system/palette/palette_tray.cc ('k') | ash/system/tray/hover_highlight_view.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 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 #include "ash/system/session/tray_session_length_limit.h" 5 #include "ash/system/session/tray_session_length_limit.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "ash/resources/grit/ash_resources.h"
12 #include "ash/resources/vector_icons/vector_icons.h" 11 #include "ash/resources/vector_icons/vector_icons.h"
13 #include "ash/shell.h" 12 #include "ash/shell.h"
14 #include "ash/strings/grit/ash_strings.h" 13 #include "ash/strings/grit/ash_strings.h"
15 #include "ash/system/system_notifier.h" 14 #include "ash/system/system_notifier.h"
16 #include "ash/system/tray/label_tray_view.h" 15 #include "ash/system/tray/label_tray_view.h"
17 #include "ash/system/tray/system_tray.h" 16 #include "ash/system/tray/system_tray.h"
18 #include "ash/system/tray/system_tray_delegate.h" 17 #include "ash/system/tray/system_tray_delegate.h"
19 #include "ash/system/tray/system_tray_notifier.h" 18 #include "ash/system/tray/system_tray_notifier.h"
20 #include "ash/system/tray/tray_constants.h" 19 #include "ash/system/tray/tray_constants.h"
21 #include "base/logging.h" 20 #include "base/logging.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 184
186 base::string16 TraySessionLengthLimit::ComposeTrayBubbleMessage() const { 185 base::string16 TraySessionLengthLimit::ComposeTrayBubbleMessage() const {
187 return l10n_util::GetStringFUTF16( 186 return l10n_util::GetStringFUTF16(
188 IDS_ASH_STATUS_TRAY_BUBBLE_SESSION_LENGTH_LIMIT, 187 IDS_ASH_STATUS_TRAY_BUBBLE_SESSION_LENGTH_LIMIT,
189 ui::TimeFormat::Detailed(ui::TimeFormat::FORMAT_DURATION, 188 ui::TimeFormat::Detailed(ui::TimeFormat::FORMAT_DURATION,
190 ui::TimeFormat::LENGTH_LONG, 10, 189 ui::TimeFormat::LENGTH_LONG, 10,
191 remaining_session_time_)); 190 remaining_session_time_));
192 } 191 }
193 192
194 } // namespace ash 193 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/palette/palette_tray.cc ('k') | ash/system/tray/hover_highlight_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698