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

Side by Side Diff: chrome/browser/supervised_user/permission_request_creator_apiary.cc

Issue 335833003: Rename "managed (mode|user)" to "supervised user" (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments (+ a few other cleanups) Created 6 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 | 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/managed_mode/permission_request_creator_apiary.h" 5 #include "chrome/browser/supervised_user/permission_request_creator_apiary.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 15 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void PermissionRequestCreatorApiary::DispatchNetworkError(int error_code) { 160 void PermissionRequestCreatorApiary::DispatchNetworkError(int error_code) {
161 DispatchGoogleServiceAuthError( 161 DispatchGoogleServiceAuthError(
162 GoogleServiceAuthError::FromConnectionError(error_code)); 162 GoogleServiceAuthError::FromConnectionError(error_code));
163 } 163 }
164 164
165 void PermissionRequestCreatorApiary::DispatchGoogleServiceAuthError( 165 void PermissionRequestCreatorApiary::DispatchGoogleServiceAuthError(
166 const GoogleServiceAuthError& error) { 166 const GoogleServiceAuthError& error) {
167 callback_.Run(); 167 callback_.Run();
168 callback_.Reset(); 168 callback_.Reset();
169 } 169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698