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

Unified Diff: ppapi/proxy/ppapi_proxy_test.cc

Issue 7706011: Use precompiled headers for most large projects. (Closed) Base URL: ssh://joi@192.168.1.201/home/joi/c/chrome/src@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_proxy_test.cc
diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc
index eb7b440c273d273b7ed202542d577443c95b780f..936261893b813587c21b067265bb074f36e1c0a9 100644
--- a/ppapi/proxy/ppapi_proxy_test.cc
+++ b/ppapi/proxy/ppapi_proxy_test.cc
@@ -63,9 +63,9 @@ const void* MockGetInterface(const char* name) {
ObserverList<ProxyTestHarnessBase>::Iterator it =
get_interface_handlers_;
while (ProxyTestHarnessBase* observer = it.GetNext()) {
- const void* interface = observer->GetInterface(name);
- if (interface)
- return interface;
+ const void* iface = observer->GetInterface(name);
jeanluc1 2011/08/22 22:20:24 I find the abbreviation 'iface' cryptic. I would
Jói 2011/08/24 13:56:33 Done.
+ if (iface)
+ return iface;
}
if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0)
return &ppb_proxy_private;
@@ -106,8 +106,8 @@ const void* ProxyTestHarnessBase::GetInterface(const char* name) {
}
void ProxyTestHarnessBase::RegisterTestInterface(const char* name,
- const void* interface) {
- registered_interfaces_[name] = interface;
+ const void* iface) {
jeanluc1 2011/08/22 22:20:24 I find the abbreviation 'iface' cryptic. I would
Jói 2011/08/24 13:56:33 Done, changed header file too.
+ registered_interfaces_[name] = iface;
}
bool ProxyTestHarnessBase::SupportsInterface(const char* name) {

Powered by Google App Engine
This is Rietveld 408576698