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

Side by Side Diff: chrome/browser/views/appcache_info_view.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/views/appcache_info_view.h" 5 #include "chrome/browser/views/appcache_info_view.h"
6 6
7 #include "app/l10n_util.h"
8 #include "base/i18n/time_formatting.h" 7 #include "base/i18n/time_formatting.h"
8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
11 11
12 namespace { 12 namespace {
13 const int kInfoLabelIds[] = { 13 const int kInfoLabelIds[] = {
14 IDS_COOKIES_APPLICATION_CACHE_MANIFEST_LABEL, 14 IDS_COOKIES_APPLICATION_CACHE_MANIFEST_LABEL,
15 IDS_COOKIES_SIZE_LABEL, 15 IDS_COOKIES_SIZE_LABEL,
16 IDS_COOKIES_COOKIE_CREATED_LABEL, 16 IDS_COOKIES_COOKIE_CREATED_LABEL,
17 IDS_COOKIES_LAST_ACCESSED_LABEL 17 IDS_COOKIES_LAST_ACCESSED_LABEL
18 }; 18 };
(...skipping 12 matching lines...) Expand all
31 string16 creation_date = 31 string16 creation_date =
32 base::TimeFormatFriendlyDateAndTime(info->creation_time); 32 base::TimeFormatFriendlyDateAndTime(info->creation_time);
33 string16 last_access_date = 33 string16 last_access_date =
34 base::TimeFormatFriendlyDateAndTime(info->last_access_time); 34 base::TimeFormatFriendlyDateAndTime(info->last_access_time);
35 int row = 0; 35 int row = 0;
36 SetValue(row++, manifest_url); 36 SetValue(row++, manifest_url);
37 SetValue(row++, size); 37 SetValue(row++, size);
38 SetValue(row++, creation_date); 38 SetValue(row++, creation_date);
39 SetValue(row++, last_access_date); 39 SetValue(row++, last_access_date);
40 } 40 }
OLDNEW
« no previous file with comments | « chrome/browser/views/app_launcher.cc ('k') | chrome/browser/views/autocomplete/autocomplete_popup_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698