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

Unified Diff: app/resource_bundle_dummy.cc

Issue 466059: Revert "Split app.gyp and add a Win64 version of the app_base target." (Closed)
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/l10n_util_dummy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/resource_bundle_dummy.cc
diff --git a/app/resource_bundle_dummy.cc b/app/resource_bundle_dummy.cc
deleted file mode 100644
index 77479f62badc8b6e9afd2dfe1fdc3b6ae8b50740..0000000000000000000000000000000000000000
--- a/app/resource_bundle_dummy.cc
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "app/resource_bundle.h"
-
-#include <atlbase.h>
-#include <windows.h>
-
-#include "app/gfx/font.h"
-#include "base/logging.h"
-#include "base/win_util.h"
-
-ResourceBundle* ResourceBundle::g_shared_instance_ = NULL;
-
-// NOTE(gregoryd): This is a hack to avoid creating more nacl_win64-specific
-// files. The font members of ResourceBundle are never initialized in our code
-// so this destructor is never called.
-namespace gfx {
- Font::HFontRef::~HFontRef() {
- NOTREACHED();
- }
-}
-
-
-/* static */
-void ResourceBundle::InitSharedInstance(const std::wstring& pref_locale) {
- DCHECK(g_shared_instance_ == NULL) << "ResourceBundle initialized twice";
- g_shared_instance_ = new ResourceBundle();
-}
-
-/* static */
-void ResourceBundle::CleanupSharedInstance() {
- if (g_shared_instance_) {
- delete g_shared_instance_;
- g_shared_instance_ = NULL;
- }
-}
-
-/* static */
-ResourceBundle& ResourceBundle::GetSharedInstance() {
- // Must call InitSharedInstance before this function.
- CHECK(g_shared_instance_ != NULL);
- return *g_shared_instance_;
-}
-
-ResourceBundle::ResourceBundle()
- : resources_data_(NULL),
- locale_resources_data_(NULL) {
-}
-
-ResourceBundle::~ResourceBundle() {
-}
-
-
-string16 ResourceBundle::GetLocalizedString(int message_id) {
- return std::wstring();
-}
« no previous file with comments | « app/l10n_util_dummy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698