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

Side by Side Diff: chrome/browser/ui/toolbar/origin_chip_info.h

Issue 334053003: Moves extension_icon_image and image_loader to extensions/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include fail 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
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/toolbar/origin_chip_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_UI_TOOLBAR_ORIGIN_CHIP_INFO_H_ 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_ORIGIN_CHIP_INFO_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_ORIGIN_CHIP_INFO_H_ 6 #define CHROME_BROWSER_UI_TOOLBAR_ORIGIN_CHIP_INFO_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "chrome/browser/extensions/extension_icon_image.h"
10 #include "chrome/browser/ui/toolbar/toolbar_model.h" 9 #include "chrome/browser/ui/toolbar/toolbar_model.h"
10 #include "extensions/browser/extension_icon_image.h"
11 11
12 class GURL; 12 class GURL;
13 class Profile; 13 class Profile;
14 14
15 namespace content { 15 namespace content {
16 class WebContents; 16 class WebContents;
17 } 17 }
18 18
19 // This class manages the information to be displayed by the origin chip. 19 // This class manages the information to be displayed by the origin chip.
20 class OriginChipInfo { 20 class OriginChipInfo {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // phishing page. 83 // phishing page.
84 static bool IsMalware(const GURL& url, const content::WebContents* tab); 84 static bool IsMalware(const GURL& url, const content::WebContents* tab);
85 85
86 // Gets the label to display on the Origin Chip for the specified URL. The 86 // Gets the label to display on the Origin Chip for the specified URL. The
87 // |profile| is needed in case the URL is from an extension. 87 // |profile| is needed in case the URL is from an extension.
88 static base::string16 LabelFromURLForProfile(const GURL& provided_url, 88 static base::string16 LabelFromURLForProfile(const GURL& provided_url,
89 Profile* profile); 89 Profile* profile);
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_UI_TOOLBAR_ORIGIN_CHIP_INFO_H_ 92 #endif // CHROME_BROWSER_UI_TOOLBAR_ORIGIN_CHIP_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/browser/ui/toolbar/origin_chip_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698