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

Side by Side Diff: chrome/browser/ui/webui/plugins/plugins_handler.h

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WEBUI_PLUGINS_PLUGINS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_HANDLER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/prefs/pref_member.h"
10 #include "base/values.h" 9 #include "base/values.h"
11 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h" 10 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h"
12 #include "chrome/browser/ui/webui/plugins/plugins.mojom.h" 11 #include "chrome/browser/ui/webui/plugins/plugins.mojom.h"
12 #include "components/prefs/pref_member.h"
13 #include "content/public/browser/notification_observer.h" 13 #include "content/public/browser/notification_observer.h"
14 #include "content/public/browser/notification_registrar.h" 14 #include "content/public/browser/notification_registrar.h"
15 #include "content/public/browser/notification_source.h" 15 #include "content/public/browser/notification_source.h"
16 #include "content/public/browser/web_ui_message_handler.h" 16 #include "content/public/browser/web_ui_message_handler.h"
17 #include "content/public/common/webplugininfo.h" 17 #include "content/public/common/webplugininfo.h"
18 #include "mojo/public/cpp/bindings/binding.h" 18 #include "mojo/public/cpp/bindings/binding.h"
19 19
20 class PluginsHandler : public MojoWebUIHandler, 20 class PluginsHandler : public MojoWebUIHandler,
21 public PluginsHandlerMojo, 21 public PluginsHandlerMojo,
22 public content::NotificationObserver { 22 public content::NotificationObserver {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // Handle back to the page by which JS methods can be called. 86 // Handle back to the page by which JS methods can be called.
87 PluginsPageMojoPtr page_; 87 PluginsPageMojoPtr page_;
88 88
89 base::WeakPtrFactory<PluginsHandler> weak_ptr_factory_; 89 base::WeakPtrFactory<PluginsHandler> weak_ptr_factory_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(PluginsHandler); 91 DISALLOW_COPY_AND_ASSIGN(PluginsHandler);
92 }; 92 };
93 93
94 #endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_HANDLER_H_ 94 #endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc ('k') | chrome/browser/ui/webui/plugins/plugins_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698