Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Fix presubmit errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrunal Kapade committed Aug 16, 2016
1 parent 5abc149 commit 36ffa22
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion runtime/browser/printing/print_job_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "base/thread_task_runner_handle.h"
#include "base/values.h"
#include "build/build_config.h"
//#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/render_view_host.h"
Expand Down
6 changes: 3 additions & 3 deletions runtime/browser/printing/print_view_manager_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ void PrintViewManagerBase::OnPrintingFailed(int cookie) {
}

void PrintViewManagerBase::OnShowInvalidPrinterSettingsError() {
LOG(ERROR) << "The selected printer is not available or not installed \
correctly.";
LOG(ERROR) << "The selected printer is not available or not installed"
" correctly.";
}

void PrintViewManagerBase::DidStartLoading() {
Expand Down Expand Up @@ -493,7 +493,7 @@ void PrintViewManagerBase::ReleasePrinterQuery() {
int cookie = cookie_;
cookie_ = 0;

PrintJobManager* print_job_manager =
PrintJobManager* print_job_manager =
XWalkRunner::GetInstance()->print_job_manager();
// May be NULL in tests.
if (!print_job_manager)
Expand Down
2 changes: 1 addition & 1 deletion runtime/browser/printing/printing_message_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PrinterQuery;
// renderer process on the IPC thread.
class PrintingMessageFilter : public content::BrowserMessageFilter {
public:
PrintingMessageFilter(int render_process_id);
explicit PrintingMessageFilter(int render_process_id);

// content::BrowserMessageFilter methods.
void OverrideThreadForMessage(const IPC::Message& message,
Expand Down
2 changes: 1 addition & 1 deletion runtime/browser/xwalk_runner.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class XWalkRunner {
// Remote debugger server.
std::unique_ptr<RemoteDebuggingServer> remote_debugging_server_;

// Ensures that all the print jobs are finished before closing
// Ensures that all the print jobs are finished before closing
std::unique_ptr<PrintJobManager> print_job_manager_;

DISALLOW_COPY_AND_ASSIGN(XWalkRunner);
Expand Down

0 comments on commit 36ffa22

Please sign in to comment.