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

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

Issue 7677004: Switch to using .pak files for locale data on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 9 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
« 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) {
50 } 49 }
51 50
52 ResourceBundle::~ResourceBundle() { 51 ResourceBundle::~ResourceBundle() {
53 } 52 }
54 53
55 54
56 string16 ResourceBundle::GetLocalizedString(int message_id) { 55 string16 ResourceBundle::GetLocalizedString(int message_id) {
57 return string16(); 56 return string16();
58 } 57 }
59 58
60 // static 59 // static
61 void ResourceBundle::SetResourcesDataDLL(HINSTANCE handle) { 60 void ResourceBundle::SetResourcesDataDLL(HINSTANCE handle) {
62 } 61 }
63 62
64 } // namespace ui 63 } // 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