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

Side by Side Diff: chrome/browser/permissions/mock_permission_request.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase 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
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/permissions/mock_permission_request.h" 5 #include "chrome/browser/permissions/mock_permission_request.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/grit/theme_resources.h"
10 #include "ui/vector_icons/vector_icons.h" 9 #include "ui/vector_icons/vector_icons.h"
11 10
12 MockPermissionRequest::MockPermissionRequest() 11 MockPermissionRequest::MockPermissionRequest()
13 : MockPermissionRequest("test", 12 : MockPermissionRequest("test",
14 "button", 13 "button",
15 "button", 14 "button",
16 GURL("http://www.google.com"), 15 GURL("http://www.google.com"),
17 PermissionRequestType::UNKNOWN, 16 PermissionRequestType::UNKNOWN,
18 PermissionRequestGestureType::UNKNOWN) {} 17 PermissionRequestGestureType::UNKNOWN) {}
19 18
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 : granted_(false), 121 : granted_(false),
123 cancelled_(false), 122 cancelled_(false),
124 finished_(false), 123 finished_(false),
125 request_type_(request_type), 124 request_type_(request_type),
126 gesture_type_(gesture_type) { 125 gesture_type_(gesture_type) {
127 text_ = base::UTF8ToUTF16(text); 126 text_ = base::UTF8ToUTF16(text);
128 accept_label_ = base::UTF8ToUTF16(accept_label); 127 accept_label_ = base::UTF8ToUTF16(accept_label);
129 deny_label_ = base::UTF8ToUTF16(deny_label); 128 deny_label_ = base::UTF8ToUTF16(deny_label);
130 origin_ = origin.GetOrigin(); 129 origin_ = origin.GetOrigin();
131 } 130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698