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

Side by Side Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.cc

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/browser/chromeos/extensions/wallpaper_private_api.h" 5 #include "chrome/browser/chromeos/extensions/wallpaper_private_api.h"
6 6
7 #include <map> 7 #include <map>
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 23 matching lines...) Expand all
34 #include "chrome/browser/chromeos/profiles/profile_helper.h" 34 #include "chrome/browser/chromeos/profiles/profile_helper.h"
35 #include "chrome/browser/profiles/profile.h" 35 #include "chrome/browser/profiles/profile.h"
36 #include "chrome/browser/sync/profile_sync_service_factory.h" 36 #include "chrome/browser/sync/profile_sync_service_factory.h"
37 #include "chrome/browser/ui/ash/ash_util.h" 37 #include "chrome/browser/ui/ash/ash_util.h"
38 #include "chrome/common/chrome_paths.h" 38 #include "chrome/common/chrome_paths.h"
39 #include "chrome/common/pref_names.h" 39 #include "chrome/common/pref_names.h"
40 #include "chrome/grit/generated_resources.h" 40 #include "chrome/grit/generated_resources.h"
41 #include "chromeos/chromeos_switches.h" 41 #include "chromeos/chromeos_switches.h"
42 #include "components/browser_sync/browser/profile_sync_service.h" 42 #include "components/browser_sync/browser/profile_sync_service.h"
43 #include "components/prefs/pref_service.h" 43 #include "components/prefs/pref_service.h"
44 #include "components/strings/grit/components_strings.h"
44 #include "components/user_manager/user.h" 45 #include "components/user_manager/user.h"
45 #include "components/user_manager/user_manager.h" 46 #include "components/user_manager/user_manager.h"
46 #include "components/wallpaper/wallpaper_layout.h" 47 #include "components/wallpaper/wallpaper_layout.h"
47 #include "content/public/browser/browser_thread.h" 48 #include "content/public/browser/browser_thread.h"
48 #include "extensions/browser/event_router.h" 49 #include "extensions/browser/event_router.h"
49 #include "grit/components_strings.h"
50 #include "ui/base/l10n/l10n_util.h" 50 #include "ui/base/l10n/l10n_util.h"
51 #include "ui/base/webui/web_ui_util.h" 51 #include "ui/base/webui/web_ui_util.h"
52 #include "ui/strings/grit/app_locale_settings.h" 52 #include "ui/strings/grit/app_locale_settings.h"
53 #include "url/gurl.h" 53 #include "url/gurl.h"
54 54
55 using base::BinaryValue; 55 using base::BinaryValue;
56 using content::BrowserThread; 56 using content::BrowserThread;
57 57
58 namespace wallpaper_base = extensions::api::wallpaper; 58 namespace wallpaper_base = extensions::api::wallpaper;
59 namespace wallpaper_private = extensions::api::wallpaper_private; 59 namespace wallpaper_private = extensions::api::wallpaper_private;
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 WallpaperPrivateRecordWallpaperUMAFunction::Run() { 974 WallpaperPrivateRecordWallpaperUMAFunction::Run() {
975 std::unique_ptr<record_wallpaper_uma::Params> params( 975 std::unique_ptr<record_wallpaper_uma::Params> params(
976 record_wallpaper_uma::Params::Create(*args_)); 976 record_wallpaper_uma::Params::Create(*args_));
977 EXTENSION_FUNCTION_VALIDATE(params); 977 EXTENSION_FUNCTION_VALIDATE(params);
978 978
979 user_manager::User::WallpaperType source = getWallpaperType(params->source); 979 user_manager::User::WallpaperType source = getWallpaperType(params->source);
980 UMA_HISTOGRAM_ENUMERATION("Ash.Wallpaper.Source", source, 980 UMA_HISTOGRAM_ENUMERATION("Ash.Wallpaper.Source", source,
981 user_manager::User::WALLPAPER_TYPE_COUNT); 981 user_manager::User::WALLPAPER_TYPE_COUNT);
982 return RespondNow(NoArguments()); 982 return RespondNow(NoArguments());
983 } 983 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698