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

Side by Side Diff: chrome/browser/content_settings/permission_bubble_request_impl.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/content_settings/permission_bubble_request_impl.h" 5 #include "chrome/browser/content_settings/permission_bubble_request_impl.h"
6 6
7 #include "chrome/browser/content_settings/permission_context_base.h" 7 #include "chrome/browser/content_settings/permission_context_base.h"
8 #include "chrome/browser/content_settings/permission_context_uma_util.h" 8 #include "chrome/browser/content_settings/permission_context_uma_util.h"
9 #include "grit/generated_resources.h" 9 #include "chrome/grit/generated_resources.h"
10 #include "grit/theme_resources.h" 10 #include "grit/theme_resources.h"
11 #include "net/base/net_util.h" 11 #include "net/base/net_util.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 13
14 PermissionBubbleRequestImpl::PermissionBubbleRequestImpl( 14 PermissionBubbleRequestImpl::PermissionBubbleRequestImpl(
15 const GURL& request_origin, 15 const GURL& request_origin,
16 bool user_gesture, 16 bool user_gesture,
17 ContentSettingsType type, 17 ContentSettingsType type,
18 const std::string& display_languages, 18 const std::string& display_languages,
19 const base::Callback<void(bool, bool)> permission_decided_callback, 19 const base::Callback<void(bool, bool)> permission_decided_callback,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 void PermissionBubbleRequestImpl::Cancelled() { 123 void PermissionBubbleRequestImpl::Cancelled() {
124 RegisterActionTaken(); 124 RegisterActionTaken();
125 permission_decided_callback_.Run(false, false); 125 permission_decided_callback_.Run(false, false);
126 } 126 }
127 127
128 void PermissionBubbleRequestImpl::RequestFinished() { 128 void PermissionBubbleRequestImpl::RequestFinished() {
129 is_finished_ = true; 129 is_finished_ = true;
130 delete_callback_.Run(); 130 delete_callback_.Run();
131 } 131 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_quota_permission_context.cc ('k') | chrome/browser/content_settings/permission_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698