[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / apps / chrome_app_window_delegate_views_win.cc
blobd52271926112ad491e4f1066812e6fb0347a5bfb
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 #include "chrome/browser/ui/apps/chrome_app_window_delegate.h"
7 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views_win.h"
9 // static
10 apps::NativeAppWindow* ChromeAppWindowDelegate::CreateNativeAppWindowImpl(
11 apps::AppWindow* app_window,
12 const apps::AppWindow::CreateParams& params) {
13 ChromeNativeAppWindowViewsWin* window = new ChromeNativeAppWindowViewsWin;
14 window->Init(app_window, params);
15 return window;