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

Unified Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 28171: Wire up resource bundles on the mac:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/temp_scaffolding_stubs.cc
===================================================================
--- chrome/common/temp_scaffolding_stubs.cc (revision 10428)
+++ chrome/common/temp_scaffolding_stubs.cc (working copy)
@@ -41,7 +41,6 @@
#include "chrome/common/notification_service.h"
#include "chrome/common/pref_service.h"
#include "chrome/common/process_watcher.h"
-#include "chrome/common/resource_bundle.h"
#include "net/url_request/url_request_context.h"
#include "webkit/glue/webcursor.h"
#include "webkit/glue/webkit_glue.h"
@@ -271,43 +270,6 @@
void RunRepostFormWarningDialog(NavigationController*) {
}
-#if defined(OS_MACOSX)
-ResourceBundle* ResourceBundle::g_shared_instance_ = NULL;
-
-// GetBitmapNamed() will leak, but there's no way around it for stubs.
-SkBitmap* ResourceBundle::GetBitmapNamed(int) {
- NOTIMPLEMENTED();
- return new SkBitmap();
-}
-ResourceBundle::ResourceBundle() { }
-ResourceBundle& ResourceBundle::GetSharedInstance() {
- NOTIMPLEMENTED();
- if (!g_shared_instance_)
- g_shared_instance_ = new ResourceBundle;
- return *g_shared_instance_;
-}
-
-StringPiece ResourceBundle::GetRawDataResource(int resource_id) {
- NOTIMPLEMENTED();
- return StringPiece();
-}
-
-std::string ResourceBundle::GetDataResource(int resource_id) {
- NOTIMPLEMENTED();
- return "";
-}
-
-void ResourceBundle::CleanupSharedInstance() {
- NOTIMPLEMENTED();
-}
-
-bool ResourceBundle::LoadImageResourceBytes(int resource_id,
- std::vector<unsigned char>* bytes) {
- NOTIMPLEMENTED();
- return false;
-}
-#endif
-
LoginHandler* CreateLoginPrompt(net::AuthChallengeInfo* auth_info,
URLRequest* request,
MessageLoop* ui_loop) {

Powered by Google App Engine
This is Rietveld 408576698