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

Side by Side Diff: chrome/common/chrome_content_client_ios.mm

Issue 12662019: Split the ProcessType enum into process types that content knows about (which will remain in src\co… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/common/chrome_content_client.h" 5 #include "chrome/common/chrome_content_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/string_piece.h" 8 #include "base/string_piece.h"
9 #include "chrome/common/chrome_version_info.h" 9 #include "chrome/common/chrome_version_info.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 base::RefCountedStaticMemory* ChromeContentClient::GetDataResourceBytes( 74 base::RefCountedStaticMemory* ChromeContentClient::GetDataResourceBytes(
75 int resource_id) const { 75 int resource_id) const {
76 return ResourceBundle::GetSharedInstance().LoadDataResourceBytes(resource_id); 76 return ResourceBundle::GetSharedInstance().LoadDataResourceBytes(resource_id);
77 } 77 }
78 78
79 gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const { 79 gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const {
80 return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id); 80 return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id);
81 } 81 }
82 82
83 std::string ChromeContentClient::GetProcessTypeNameInEnglish(int type) {
84 DCHECK(false) << "Unknown child process type!";
85 return "Unknown";
86 }
87
83 } // namespace chrome 88 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698