添加打印审计代码 Signed-off-by:xiongqiao3@huawei.com

Signed-off-by: xiongqiao <xiongqiao3@huawei.com>
This commit is contained in:
xiongqiao 2023-06-07 19:49:29 +08:00
parent 91a0082a05
commit db96f6e34e
2 changed files with 6 additions and 8 deletions

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef PRINT_SECURITY_GUARD_UTIL_H
#define PRINT_SECURITY_GUARD_UTIL_H
#ifndef PRINT_SECURITY_GUARD_UTIL_H
#define PRINT_SECURITY_GUARD_UTIL_H
#include "print_util.h"
@ -47,7 +47,6 @@ inline int32_t PrintSecurityGuardUtil::GetPrinterType(const std::string& des)
}
return FROM_LOCAL_NET;
}
} // namespace OHOS::Print
#endif //PRINT_SECURITY_GUARD_UTIL_H
#endif // PRINT_SECURITY_GUARD_UTIL_H

View File

@ -13,8 +13,8 @@
* limitations under the License.
*/
#ifndef PRINT_UTIL_H
#define PRINT_UTIL_H
#ifndef PRINT_UTIL_H
#define PRINT_UTIL_H
#include <algorithm>
#include <iostream>
@ -87,7 +87,6 @@ inline bool PrintUtil::CheckContains(const std::string& str, const std::string&
return str.find(content) != std::string::npos;
}
} // namespace OHOS::Print
#endif //PRINT_UTIL_H
#endif // PRINT_UTIL_H