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

Unified Diff: chrome/browser/media_galleries/gallery_watch_manager.cc

Issue 2322343002: Fix "notificiation" and "soruce" typos. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_notification.cc ('k') | components/sync/driver/backend_migrator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_galleries/gallery_watch_manager.cc
diff --git a/chrome/browser/media_galleries/gallery_watch_manager.cc b/chrome/browser/media_galleries/gallery_watch_manager.cc
index c3147b596e2d49628b109db2ce793cc6f0b7331e..76b0d3c16ab0d77b1e73d0a8b06ebf8c5b74d4db 100644
--- a/chrome/browser/media_galleries/gallery_watch_manager.cc
+++ b/chrome/browser/media_galleries/gallery_watch_manager.cc
@@ -29,7 +29,7 @@ using content::BrowserThread;
namespace {
// Don't send a notification more than once per 3 seconds (chosen arbitrarily).
-const int kMinNotificiationDelayInSeconds = 3;
+const int kMinNotificationDelayInSeconds = 3;
class ShutdownNotifierFactory
: public BrowserContextKeyedServiceShutdownNotifierFactory {
@@ -416,12 +416,12 @@ void GalleryWatchManager::OnFilePathChanged(const base::FilePath& path,
base::TimeDelta time_since_last_notify =
base::Time::Now() - notification_info->second.last_notify_time;
if (time_since_last_notify <
- base::TimeDelta::FromSeconds(kMinNotificiationDelayInSeconds)) {
+ base::TimeDelta::FromSeconds(kMinNotificationDelayInSeconds)) {
if (!notification_info->second.delayed_notification_pending) {
notification_info->second.delayed_notification_pending = true;
base::TimeDelta delay_to_next_valid_time =
notification_info->second.last_notify_time +
- base::TimeDelta::FromSeconds(kMinNotificiationDelayInSeconds) -
+ base::TimeDelta::FromSeconds(kMinNotificationDelayInSeconds) -
base::Time::Now();
BrowserThread::PostDelayedTask(
BrowserThread::UI,
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_notification.cc ('k') | components/sync/driver/backend_migrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698