Commit 1620c5f7 authored by Darwin Huang's avatar Darwin Huang Committed by Commit Bot

Refactor: Fix misspellings.

Miscellaneous spellfixes. No functional changes.

Mostly instances of "clipboard" and "synchronous", and one of "currently".

Change-Id: Ic313394247301698afee43e6c96bdb5de3f38bac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2029458
Commit-Queue: Darwin Huang <huangdarwin@chromium.org>
Auto-Submit: Darwin Huang <huangdarwin@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737019}
parent 6c36d66c
......@@ -30,7 +30,7 @@ class NotificationPermissionUiSelector {
virtual ~NotificationPermissionUiSelector() {}
// Determines the UI to use for the given |request|, and invokes |callback|
// when done, either synchronously or asynchrously. The |callback| is
// when done, either synchronously or asynchronously. The |callback| is
// guaranteed never to be invoked after |this| goes out of scope. Only one
// request is supported at a time.
virtual void SelectUiToUse(permissions::PermissionRequest* request,
......
......@@ -14,7 +14,7 @@
// Feature to allow devices to receive the shared clipboard message.
extern const base::Feature kSharedClipboardReceiver;
// Feature to allow shared clipbpard gets processed.
// Feature to allow shared clipboard gets processed.
extern const base::Feature kSharedClipboardUI;
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
......
......@@ -66,7 +66,7 @@ class DataDevice : public WMHelper::DragDropObserver,
void OnDragExited() override;
int OnPerformDrop(const ui::DropTargetEvent& event) override;
// Overridden from ui::ClipbaordObserver:
// Overridden from ui::ClipboardObserver:
void OnClipboardDataChanged() override;
// Overridden from SeatObserver:
......
......@@ -63,7 +63,7 @@ class FaviconCache : public history::HistoryServiceObserver {
// isn't in our database), we simply erase all the pending callbacks, and also
// cache the result.
//
// Therefore, |on_favicon_fetched| may or may not be called asynchrously
// Therefore, |on_favicon_fetched| may or may not be called asynchronously
// later, but will never be called with an empty result. It will also never
// be called synchronously.
gfx::Image GetFaviconForPageUrl(const GURL& page_url,
......
......@@ -41,7 +41,7 @@ mojom::ActivationState ComputeActivationState(
//
// Initially holds an empty filter in the synchronously created Core object, and
// initializes the filter on the |task_runner| asynchronously. This lets ADSF be
// created synchrously and be immediately used by clients on the UI thread,
// created synchronously and be immediately used by clients on the UI thread,
// while the DSF is retrieved on the |task_runner| in a deferred manner.
class AsyncDocumentSubresourceFilter {
public:
......
......@@ -126,7 +126,7 @@ void SignedExchangeLoader::OnUploadProgress(
}
void SignedExchangeLoader::OnReceiveCachedMetadata(mojo_base::BigBuffer data) {
// Curerntly CachedMetadata for Signed Exchange is not supported.
// CachedMetadata for Signed Exchange is not supported.
NOTREACHED();
}
......
......@@ -432,7 +432,7 @@ ExtensionFunction::ResponseAction AppWindowCreateFunction::Run() {
// Delay sending the response until the newly created window has finished its
// navigation or was closed during that process.
// AddOnDidFinishFirstNavigationCallback() will respond asynchrously.
// AddOnDidFinishFirstNavigationCallback() will respond asynchronously.
app_window->AddOnDidFinishFirstNavigationCallback(base::BindOnce(
&AppWindowCreateFunction::OnAppWindowFinishedFirstNavigationOrClosed,
this, std::move(result_arg)));
......
......@@ -208,7 +208,7 @@ class ClipboardOzone::AsyncClipboardOzone {
// TODO(https://crbug.com/913422): the implementation is known to be
// dangerous, and may cause blocks in ui thread. But base::Clipboard was
// designed to have synchrous APIs rather than asynchronous ones that at
// designed to have synchronous APIs rather than asynchronous ones that at
// least two system clipboards on X11 and Wayland provide.
base::RunLoop run_loop(base::RunLoop::Type::kNestableTasksAllowed);
request->finish_closure = run_loop.QuitClosure();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment