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

Side by Side Diff: chrome/browser/download/download_permission_request.cc

Issue 2123653006: Rename PermissionBubbleRequest to PermissionRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_manager_rename
Patch Set: Fix missed file Created 4 years, 5 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 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/download/download_permission_request.h" 5 #include "chrome/browser/download/download_permission_request.h"
6 6
7 #include "chrome/grit/generated_resources.h" 7 #include "chrome/grit/generated_resources.h"
8 #include "content/public/browser/web_contents.h" 8 #include "content/public/browser/web_contents.h"
9 #include "grit/theme_resources.h" 9 #include "grit/theme_resources.h"
10 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 if (host_) { 49 if (host_) {
50 // This may invalidate |host_|. 50 // This may invalidate |host_|.
51 host_->CancelOnce(); 51 host_->CancelOnce();
52 } 52 }
53 } 53 }
54 54
55 void DownloadPermissionRequest::RequestFinished() { 55 void DownloadPermissionRequest::RequestFinished() {
56 delete this; 56 delete this;
57 } 57 }
58 58
59 PermissionBubbleType DownloadPermissionRequest::GetPermissionBubbleType() 59 PermissionRequestType DownloadPermissionRequest::GetPermissionRequestType()
60 const { 60 const {
61 return PermissionBubbleType::DOWNLOAD; 61 return PermissionRequestType::DOWNLOAD;
62 } 62 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_permission_request.h ('k') | chrome/browser/download/download_request_limiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698