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

Side by Side Diff: chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_private_api.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/chromeos/extensions/quick_unlock_private/quick_unlock_p rivate_api.h" 5 #include "chrome/browser/chromeos/extensions/quick_unlock_private/quick_unlock_p rivate_api.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "chrome/browser/chromeos/login/quick_unlock/pin_storage.h" 8 #include "chrome/browser/chromeos/login/quick_unlock/pin_storage.h"
8 #include "chrome/browser/chromeos/login/quick_unlock/pin_storage_factory.h" 9 #include "chrome/browser/chromeos/login/quick_unlock/pin_storage_factory.h"
9 #include "chrome/browser/chromeos/profiles/profile_helper.h" 10 #include "chrome/browser/chromeos/profiles/profile_helper.h"
10 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
11 #include "chromeos/login/auth/extended_authenticator.h" 12 #include "chromeos/login/auth/extended_authenticator.h"
12 #include "chromeos/login/auth/user_context.h" 13 #include "chromeos/login/auth/user_context.h"
13 #include "components/prefs/pref_service.h" 14 #include "components/prefs/pref_service.h"
14 #include "extensions/browser/event_router.h" 15 #include "extensions/browser/event_router.h"
15 16
16 namespace extensions { 17 namespace extensions {
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 } 422 }
422 423
423 std::unique_ptr<base::ListValue> args = OnActiveModesChanged::Create(modes); 424 std::unique_ptr<base::ListValue> args = OnActiveModesChanged::Create(modes);
424 std::unique_ptr<Event> event( 425 std::unique_ptr<Event> event(
425 new Event(events::QUICK_UNLOCK_PRIVATE_ON_ACTIVE_MODES_CHANGED, 426 new Event(events::QUICK_UNLOCK_PRIVATE_ON_ACTIVE_MODES_CHANGED,
426 OnActiveModesChanged::kEventName, std::move(args))); 427 OnActiveModesChanged::kEventName, std::move(args)));
427 EventRouter::Get(browser_context())->BroadcastEvent(std::move(event)); 428 EventRouter::Get(browser_context())->BroadcastEvent(std::move(event));
428 } 429 }
429 430
430 } // namespace extensions 431 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698