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

Side by Side Diff: chrome/browser/page_info_model.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/page_info_model.h" 5 #include "chrome/browser/page_info_model.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/i18n/time_formatting.h" 12 #include "base/i18n/time_formatting.h"
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/cert_store.h" 15 #include "chrome/browser/cert_store.h"
16 #include "chrome/browser/prefs/pref_service.h" 16 #include "chrome/browser/prefs/pref_service.h"
17 #include "chrome/browser/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/ssl/ssl_manager.h" 18 #include "chrome/browser/ssl/ssl_manager.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/pref_names.h" 20 #include "chrome/common/pref_names.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 #include "grit/theme_resources.h" 22 #include "grit/theme_resources.h"
23 #include "net/base/cert_status_flags.h" 23 #include "net/base/cert_status_flags.h"
24 #include "net/base/ssl_connection_status_flags.h" 24 #include "net/base/ssl_connection_status_flags.h"
25 #include "net/base/ssl_cipher_suite_names.h" 25 #include "net/base/ssl_cipher_suite_names.h"
26 #include "net/base/x509_certificate.h" 26 #include "net/base/x509_certificate.h"
27 27
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 gfx::NativeImage PageInfoModel::GetBitmapNamed(int resource_id) { 352 gfx::NativeImage PageInfoModel::GetBitmapNamed(int resource_id) {
353 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); 353 ResourceBundle& rb = ResourceBundle::GetSharedInstance();
354 gfx::NativeImage image = rb.GetNativeImageNamed(resource_id); 354 gfx::NativeImage image = rb.GetNativeImageNamed(resource_id);
355 #if defined(OS_MACOSX) 355 #if defined(OS_MACOSX)
356 // Unlike other platforms, the Mac ResourceBundle does not keep a shared image 356 // Unlike other platforms, the Mac ResourceBundle does not keep a shared image
357 // cache. These are released in the dtor. 357 // cache. These are released in the dtor.
358 mac_util::NSObjectRetain(image); 358 mac_util::NSObjectRetain(image);
359 #endif 359 #endif
360 return image; 360 return image;
361 } 361 }
OLDNEW
« no previous file with comments | « chrome/browser/omnibox_search_hint.cc ('k') | chrome/browser/password_manager/password_form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698