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

Side by Side Diff: ui/base/resource/resource_bundle_dummy.cc

Issue 7744053: Revert 98103 - Switch to using .pak files for locale data on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/base/resource/resource_bundle_linux.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ui/base/resource/resource_bundle.h" 5 #include "ui/base/resource/resource_bundle.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 27 matching lines...) Expand all
38 38
39 // static 39 // static
40 ResourceBundle& ResourceBundle::GetSharedInstance() { 40 ResourceBundle& ResourceBundle::GetSharedInstance() {
41 // Must call InitSharedInstance before this function. 41 // Must call InitSharedInstance before this function.
42 CHECK(g_shared_instance_ != NULL); 42 CHECK(g_shared_instance_ != NULL);
43 return *g_shared_instance_; 43 return *g_shared_instance_;
44 } 44 }
45 45
46 ResourceBundle::ResourceBundle() 46 ResourceBundle::ResourceBundle()
47 : lock_(new base::Lock), 47 : lock_(new base::Lock),
48 resources_data_(NULL) { 48 resources_data_(NULL),
49 locale_resources_data_(NULL) {
49 } 50 }
50 51
51 ResourceBundle::~ResourceBundle() { 52 ResourceBundle::~ResourceBundle() {
52 } 53 }
53 54
54 55
55 string16 ResourceBundle::GetLocalizedString(int message_id) { 56 string16 ResourceBundle::GetLocalizedString(int message_id) {
56 return string16(); 57 return string16();
57 } 58 }
58 59
59 // static 60 // static
60 void ResourceBundle::SetResourcesDataDLL(HINSTANCE handle) { 61 void ResourceBundle::SetResourcesDataDLL(HINSTANCE handle) {
61 } 62 }
62 63
63 } // namespace ui 64 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/base/resource/resource_bundle_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698