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

Side by Side Diff: chrome/browser/ui/ash/chrome_screenshot_grabber.cc

Issue 1296483003: Move chrome/browser/chromeos/drive/resource* (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 2014 The Chromium Authors. All rights reserved. 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 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/ui/ash/chrome_screenshot_grabber.h" 5 #include "chrome/browser/ui/ash/chrome_screenshot_grabber.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/system_notifier.h" 8 #include "ash/system/system_notifier.h"
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/public/browser/user_metrics.h" 25 #include "content/public/browser/user_metrics.h"
26 #include "grit/ash_strings.h" 26 #include "grit/ash_strings.h"
27 #include "grit/theme_resources.h" 27 #include "grit/theme_resources.h"
28 #include "ui/base/clipboard/clipboard.h" 28 #include "ui/base/clipboard/clipboard.h"
29 #include "ui/base/clipboard/scoped_clipboard_writer.h" 29 #include "ui/base/clipboard/scoped_clipboard_writer.h"
30 #include "ui/base/l10n/l10n_util.h" 30 #include "ui/base/l10n/l10n_util.h"
31 #include "ui/base/resource/resource_bundle.h" 31 #include "ui/base/resource/resource_bundle.h"
32 #include "ui/strings/grit/ui_strings.h" 32 #include "ui/strings/grit/ui_strings.h"
33 33
34 #if defined(OS_CHROMEOS) 34 #if defined(OS_CHROMEOS)
35 #include "chrome/browser/chromeos/drive/file_system_core_util.h"
36 #include "chrome/browser/chromeos/drive/file_system_interface.h" 35 #include "chrome/browser/chromeos/drive/file_system_interface.h"
37 #include "chrome/browser/chromeos/drive/file_system_util.h" 36 #include "chrome/browser/chromeos/drive/file_system_util.h"
38 #include "chrome/browser/chromeos/file_manager/open_util.h" 37 #include "chrome/browser/chromeos/file_manager/open_util.h"
39 #include "chrome/browser/notifications/notifier_state_tracker.h" 38 #include "chrome/browser/notifications/notifier_state_tracker.h"
40 #include "chrome/browser/notifications/notifier_state_tracker_factory.h" 39 #include "chrome/browser/notifications/notifier_state_tracker_factory.h"
41 #include "chromeos/login/login_state.h" 40 #include "chromeos/login/login_state.h"
42 #endif 41 #endif
43 42
44 namespace { 43 namespace {
45 44
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 #endif 426 #endif
428 427
429 void ChromeScreenshotGrabber::SetProfileForTest(Profile* profile) { 428 void ChromeScreenshotGrabber::SetProfileForTest(Profile* profile) {
430 profile_for_test_ = profile; 429 profile_for_test_ = profile;
431 } 430 }
432 431
433 Profile* ChromeScreenshotGrabber::GetProfile() { 432 Profile* ChromeScreenshotGrabber::GetProfile() {
434 return profile_for_test_ ? profile_for_test_ 433 return profile_for_test_ ? profile_for_test_
435 : ProfileManager::GetActiveUserProfile(); 434 : ProfileManager::GetActiveUserProfile();
436 } 435 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698