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

Side by Side Diff: chrome/browser/ui/webui/welcome_win10_handler.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/ui/webui/welcome_win10_handler.h" 5 #include "chrome/browser/ui/webui/welcome_win10_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "chrome/browser/shell_integration.h" 9 #include "chrome/browser/shell_integration.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // If the page already called getPinnedToTaskbarState(), the result can be 110 // If the page already called getPinnedToTaskbarState(), the result can be
111 // sent back. 111 // sent back.
112 if (!pinned_state_callback_id_.empty()) 112 if (!pinned_state_callback_id_.empty())
113 SendPinnedToTaskbarStateResult(); 113 SendPinnedToTaskbarStateResult();
114 } 114 }
115 115
116 void WelcomeWin10Handler::SendPinnedToTaskbarStateResult() { 116 void WelcomeWin10Handler::SendPinnedToTaskbarStateResult() {
117 ResolveJavascriptCallback( 117 ResolveJavascriptCallback(
118 base::StringValue(pinned_state_callback_id_), 118 base::StringValue(pinned_state_callback_id_),
119 base::FundamentalValue(pinned_state_result_.value())); 119 base::Value(pinned_state_result_.value()));
120 } 120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698