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

Side by Side Diff: chrome/browser/ui/webui/signin/signin_dice_internals_handler.cc

Issue 2943093002: Add internals page for DICE (Closed)
Patch Set: Fix compile error Created 3 years, 6 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/webui/signin/signin_dice_internals_handler.h"
6
7 #include "base/values.h"
8 #include "chrome/browser/profiles/profile.h"
9
10 SigninDiceInternalsHandler::SigninDiceInternalsHandler(Profile* profile)
11 : profile_(profile) {
12 DCHECK(profile_);
13 DCHECK(!profile_->IsOffTheRecord());
14 }
15
16 SigninDiceInternalsHandler::~SigninDiceInternalsHandler() {}
17
18 void SigninDiceInternalsHandler::RegisterMessages() {
19 web_ui()->RegisterMessageCallback(
20 "enableSync", base::Bind(&SigninDiceInternalsHandler::HandleEnableSync,
21 base::Unretained(this)));
22 }
23
24 void SigninDiceInternalsHandler::HandleEnableSync(const base::ListValue* args) {
25 // TODO(msarda): Implement start syncing.
26 VLOG(1) << "[Dice] Start syncing";
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698