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

Side by Side Diff: chrome/browser/ui/webui/options/easy_unlock_handler.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ui/webui/options/easy_unlock_handler.h" 5 #include "chrome/browser/ui/webui/options/easy_unlock_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/signin/easy_unlock_service.h" 10 #include "chrome/browser/signin/easy_unlock_service.h"
11 #include "chrome/grit/generated_resources.h"
11 #include "content/public/browser/web_ui.h" 12 #include "content/public/browser/web_ui.h"
12 #include "grit/generated_resources.h"
13 13
14 namespace options { 14 namespace options {
15 15
16 EasyUnlockHandler::EasyUnlockHandler() { 16 EasyUnlockHandler::EasyUnlockHandler() {
17 } 17 }
18 18
19 EasyUnlockHandler::~EasyUnlockHandler() { 19 EasyUnlockHandler::~EasyUnlockHandler() {
20 EasyUnlockService::Get(Profile::FromWebUI(web_ui()))->RemoveObserver(this); 20 EasyUnlockService::Get(Profile::FromWebUI(web_ui()))->RemoveObserver(this);
21 } 21 }
22 22
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 void EasyUnlockHandler::HandleRequestTurnOff(const base::ListValue* args) { 99 void EasyUnlockHandler::HandleRequestTurnOff(const base::ListValue* args) {
100 EasyUnlockService::Get(Profile::FromWebUI(web_ui()))->RunTurnOffFlow(); 100 EasyUnlockService::Get(Profile::FromWebUI(web_ui()))->RunTurnOffFlow();
101 } 101 }
102 102
103 void EasyUnlockHandler::HandlePageDismissed(const base::ListValue* args) { 103 void EasyUnlockHandler::HandlePageDismissed(const base::ListValue* args) {
104 EasyUnlockService::Get(Profile::FromWebUI(web_ui()))->ResetTurnOffFlow(); 104 EasyUnlockService::Get(Profile::FromWebUI(web_ui()))->ResetTurnOffFlow();
105 } 105 }
106 106
107 } // namespace options 107 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/create_profile_handler.cc ('k') | chrome/browser/ui/webui/options/font_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698