зеркало из https://github.com/mozilla/gecko-dev.git
commenting out some printfs r=ramiro
This commit is contained in:
Родитель
bac3c79938
Коммит
a30aea6b50
|
@ -97,14 +97,15 @@ DataStruct::SetData ( nsISupports* aData, PRUint32 aDataLen )
|
|||
if (aDataLen > LARGE_DATASET_SIZE) {
|
||||
// if so, cache it to disk instead of memory
|
||||
if ( NS_SUCCEEDED(WriteCache(aData, aDataLen)) ) {
|
||||
printf("->>>>>>>>>>>>>> Wrote Clipboard to cache file\n");
|
||||
// printf("->>>>>>>>>>>>>> Wrote Clipboard to cache file\n");
|
||||
return;
|
||||
}
|
||||
/*
|
||||
else
|
||||
printf("->>>>>>>>>>>>>> Writing Clipboard to cache file FAILED\n");
|
||||
|
||||
*/
|
||||
} else {
|
||||
printf("->>>>>>>>>>>>>> Write Clipboard to memory\n");
|
||||
// printf("->>>>>>>>>>>>>> Write Clipboard to memory\n");
|
||||
}
|
||||
|
||||
mData = aData;
|
||||
|
@ -121,7 +122,7 @@ DataStruct::GetData ( nsISupports** aData, PRUint32 *aDataLen )
|
|||
// if so, read it in and pass it back
|
||||
// ReadCache creates memory and copies the data into it.
|
||||
if ( NS_SUCCEEDED(ReadCache(aData, aDataLen)) ) {
|
||||
printf("->>>>>>>>>>>>>> Read Clipboard from cache file\n");
|
||||
// printf("->>>>>>>>>>>>>> Read Clipboard from cache file\n");
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
@ -132,7 +133,7 @@ DataStruct::GetData ( nsISupports** aData, PRUint32 *aDataLen )
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
printf("->>>>>>>>>>>>>> Read Clipboard from memory\n");
|
||||
// printf("->>>>>>>>>>>>>> Read Clipboard from memory\n");
|
||||
}
|
||||
|
||||
*aData = mData;
|
||||
|
|
Загрузка…
Ссылка в новой задаче