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

Side by Side Diff: chrome/browser/printing/cloud_print/privet_notifications.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/printing/cloud_print/privet_notifications.h" 5 #include "chrome/browser/printing/cloud_print/privet_notifications.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/rand_util.h" 14 #include "base/rand_util.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" 19 #include "chrome/browser/local_discovery/service_discovery_shared_client.h"
20 #include "chrome/browser/notifications/notification.h" 20 #include "chrome/browser/notifications/notification.h"
21 #include "chrome/browser/notifications/notification_ui_manager.h" 21 #include "chrome/browser/notifications/notification_ui_manager.h"
22 #include "chrome/browser/printing/cloud_print/privet_device_lister_impl.h" 22 #include "chrome/browser/printing/cloud_print/privet_device_lister_impl.h"
23 #include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h " 23 #include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h "
24 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/signin/signin_manager_factory.h" 25 #include "chrome/browser/signin/signin_manager_factory.h"
26 #include "chrome/browser/ui/browser.h" 26 #include "chrome/browser/ui/browser.h"
27 #include "chrome/browser/ui/browser_finder.h" 27 #include "chrome/browser/ui/browser_finder.h"
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 386
387 void PrivetNotificationDelegate::DisableNotifications() { 387 void PrivetNotificationDelegate::DisableNotifications() {
388 Profile* profile_obj = Profile::FromBrowserContext(profile_); 388 Profile* profile_obj = Profile::FromBrowserContext(profile_);
389 389
390 profile_obj->GetPrefs()->SetBoolean( 390 profile_obj->GetPrefs()->SetBoolean(
391 prefs::kLocalDiscoveryNotificationsEnabled, 391 prefs::kLocalDiscoveryNotificationsEnabled,
392 false); 392 false);
393 } 393 }
394 394
395 } // namespace cloud_print 395 } // namespace cloud_print
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698