| Index: chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc (revision 191609)
|
| +++ chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc (working copy)
|
| @@ -23,13 +23,13 @@
|
| #include "chrome/browser/extensions/extension_web_ui.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/bookmarks/bookmark_drag_drop.h"
|
| -#include "chrome/browser/view_type_utils.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/user_prefs/user_prefs.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "content/public/browser/web_ui.h"
|
| +#include "extensions/browser/view_type_utils.h"
|
| #include "grit/generated_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/webui/web_ui_util.h"
|
| @@ -402,7 +402,7 @@
|
|
|
| WebContents* web_contents =
|
| WebContents::FromRenderViewHost(render_view_host_);
|
| - if (chrome::GetViewType(web_contents) == chrome::VIEW_TYPE_TAB_CONTENTS) {
|
| + if (GetViewType(web_contents) == VIEW_TYPE_TAB_CONTENTS) {
|
| WebContents* web_contents =
|
| dispatcher()->delegate()->GetAssociatedWebContents();
|
| CHECK(web_contents);
|
| @@ -445,7 +445,7 @@
|
|
|
| WebContents* web_contents =
|
| WebContents::FromRenderViewHost(render_view_host_);
|
| - if (chrome::GetViewType(web_contents) == chrome::VIEW_TYPE_TAB_CONTENTS) {
|
| + if (GetViewType(web_contents) == VIEW_TYPE_TAB_CONTENTS) {
|
| WebContents* web_contents =
|
| dispatcher()->delegate()->GetAssociatedWebContents();
|
| CHECK(web_contents);
|
|
|