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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_info_ui.cc

Issue 15949029: Use a direct include of utf_string_conversions.h in chrome/browser/ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/extensions/extension_info_ui.h" 5 #include "chrome/browser/ui/webui/extensions/extension_info_ui.h"
6 6
7 #include "base/i18n/time_formatting.h" 7 #include "base/i18n/time_formatting.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h"
9 #include "base/time.h" 10 #include "base/time.h"
10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/extensions/extension_prefs.h" 11 #include "chrome/browser/extensions/extension_prefs.h"
12 #include "chrome/browser/extensions/extension_service.h" 12 #include "chrome/browser/extensions/extension_service.h"
13 #include "chrome/browser/extensions/extension_system.h" 13 #include "chrome/browser/extensions/extension_system.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/webui/extensions/extension_basic_info.h" 15 #include "chrome/browser/ui/webui/extensions/extension_basic_info.h"
16 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" 16 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
17 #include "chrome/common/extensions/extension.h" 17 #include "chrome/common/extensions/extension.h"
18 #include "chrome/common/extensions/extension_constants.h" 18 #include "chrome/common/extensions/extension_constants.h"
19 #include "chrome/common/extensions/extension_icon_set.h" 19 #include "chrome/common/extensions/extension_icon_set.h"
20 #include "chrome/common/url_constants.h" 20 #include "chrome/common/url_constants.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ExtensionIconSource::GetIconURL(extension, 71 ExtensionIconSource::GetIconURL(extension,
72 extension_misc::EXTENSION_ICON_MEDIUM, 72 extension_misc::EXTENSION_ICON_MEDIUM,
73 ExtensionIconSet::MATCH_BIGGER, 73 ExtensionIconSet::MATCH_BIGGER,
74 false, NULL); 74 false, NULL);
75 source_->AddString("icon", UTF8ToUTF16(icon.spec())); 75 source_->AddString("icon", UTF8ToUTF16(icon.spec()));
76 // Set the last update time (the install time). 76 // Set the last update time (the install time).
77 base::Time install_time = extension_service->extension_prefs()-> 77 base::Time install_time = extension_service->extension_prefs()->
78 GetInstallTime(extension_id); 78 GetInstallTime(extension_id);
79 source_->AddString("installTime", base::TimeFormatShortDate(install_time)); 79 source_->AddString("installTime", base::TimeFormatShortDate(install_time));
80 } 80 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/downloads_dom_handler.cc ('k') | chrome/browser/ui/webui/extensions/extension_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698