Update strings for turning off Smart Lock.
[chromium-blink-merge.git] / extensions / renderer / extensions_render_frame_observer.h
blobd085afac4813e15068c19a3850aabf3179c0cd0f
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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_RENDERER_EXTENSIONS_RENDER_FRAME_OBSERVER_H_
6 #define EXTENSIONS_RENDERER_EXTENSIONS_RENDER_FRAME_OBSERVER_H_
8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_frame_observer.h"
11 namespace extensions {
13 // This class holds the extensions specific parts of RenderFrame, and has the
14 // same lifetime.
15 class ExtensionsRenderFrameObserver
16 : public content::RenderFrameObserver {
17 public:
18 explicit ExtensionsRenderFrameObserver(
19 content::RenderFrame* render_frame);
20 ~ExtensionsRenderFrameObserver() override;
22 private:
23 // RenderFrameObserver implementation.
24 void DetailedConsoleMessageAdded(const base::string16& message,
25 const base::string16& source,
26 const base::string16& stack_trace,
27 int32 line_number,
28 int32 severity_level) override;
29 void DidChangeName(const base::string16& name) override;
31 DISALLOW_COPY_AND_ASSIGN(ExtensionsRenderFrameObserver);
34 } // namespace extensions
36 #endif // EXTENSIONS_RENDERER_EXTENSIONS_RENDER_FRAME_OBSERVER_H_